Skip to content

Commit

Permalink
fix: permissions to auto-merge pull requests
Browse files Browse the repository at this point in the history
otherwise it'll fail with the error message below:

    GraphQL: edx-transifex-bot does not have the correct permissions to execute `EnablePullRequestAutoMerge` (enablePullRequestAutoMerge)
  • Loading branch information
OmarIthawi committed Feb 21, 2024
1 parent 2675ea6 commit af1639f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/automerge-transifex-app-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
jobs:
automerge-transifex-app-pr:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
# Merges the pull request
steps:
- name: clone repository
Expand Down

0 comments on commit af1639f

Please sign in to comment.