Skip to content

Commit

Permalink
Merge branch 'gh-actions-test-branch' into patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
zomars authored Oct 15, 2024
2 parents efb64bd + 9fc19ce commit 3eafffc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/re-draft-on-changes-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:
contents: write
issues: write
pull-requests: write
statuses: write

jobs:
approved:
Expand All @@ -24,13 +25,14 @@ jobs:
contents: write
issues: write
pull-requests: write
statuses: write
runs-on: ubuntu-latest
steps:
- run: echo "This PR was rejected"
- name: Convert PR to draft when changes are requested
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
script: |
async function getPullRequestId() {
const pull_number = context.payload.pull_request.number;
Expand Down

0 comments on commit 3eafffc

Please sign in to comment.