You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run: echo "Received a new PR. Proceeding to close."
16
+
17
+
close:
18
+
runs-on: ubuntu-latest
19
+
needs: validate
20
+
permissions:
21
+
pull-requests: write
22
+
steps:
23
+
- name: Close Pull Request
24
+
uses: actions/github-script@v7
25
+
with:
26
+
github-token: ${{ secrets.GITHUB_TOKEN }}
27
+
script: |
28
+
github.rest.issues.createComment({
29
+
owner: context.repo.owner,
30
+
repo: context.repo.repo,
31
+
issue_number: context.issue.number,
32
+
body: 'Thanks for your contribution, however QUADS utilizes Gerrit code review and does not utilize pull requests. See the CONTRIBUTING.md file for more information.'
0 commit comments