Skip to content

Commit

Permalink
update github action flow
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianeU committed Nov 12, 2024
1 parent 668c9c0 commit 4711f3d
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions .github/workflows/pr_auto_approval.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
on:
pull_request:
types:
- opened
branches:
- '*'
pull_request_target:
branches-ignore:
- 8.13

jobs:
approve:
name: Auto-approve docker push pr
runs-on: ubuntu-latest
if: |
startsWith(github.event.pull_request.head.ref, 'docker_files_push_')
permissions:
pull-requests: write
contents: write
approve:
name: Auto-approve docker push pr
runs-on: ubuntu-latest
if: |
startsWith(github.event.pull_request.head.ref, 'docker_files_push')
steps:
- name: Debug PR info
run: |
echo "PR Head Ref: ${{ github.event.pull_request.head.ref }}"
permissions:
pull-requests: write
steps:
- uses: hmarr/auto-approve-action@v3

0 comments on commit 4711f3d

Please sign in to comment.