Skip to content

Commit

Permalink
Merge pull request #26 from Abdel-Monaam-Aouini/automerge
Browse files Browse the repository at this point in the history
feat: automerge PR
  • Loading branch information
Abdel-Monaam-Aouini authored Mar 23, 2023
2 parents 9cc340a + 0a99076 commit 68bbc77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ on:

# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
contents: write
pages: write
id-token: write
pull-requests: write

jobs:
style:
Expand Down Expand Up @@ -50,7 +51,7 @@ jobs:
deploy:
environment: testing
runs-on: ubuntu-latest
needs: [test]
needs: [test, style]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -98,5 +99,4 @@ jobs:
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 68bbc77

Please sign in to comment.