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 765588b + 79d34f2 commit efb64bd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/re-draft-on-changes-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ concurrency:
group: ${{ github.event.pull_request.number }}
cancel-in-progress: true

permissions:
contents: write
issues: write
pull-requests: write

jobs:
approved:
if: github.event.review.state == 'approved'
Expand All @@ -25,7 +30,7 @@ jobs:
- name: Convert PR to draft when changes are requested
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
async function getPullRequestId() {
const pull_number = context.payload.pull_request.number;
Expand Down

0 comments on commit efb64bd

Please sign in to comment.