Skip to content

Commit

Permalink
ci: more workflow abstraction
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadnassri committed Jul 28, 2023
1 parent fb5d79a commit 29914a5
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/pull_request_target.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ----------------------------------------------- #
# Note: this file originates in template-template #
# ----------------------------------------------- #
# --------------------------------------------- #
# Note: this file originates in template-docker #
# --------------------------------------------- #

name: pull_request_target

Expand All @@ -12,14 +12,9 @@ concurrency:
permissions: read-all

jobs:
auto-merge:
needs: template-sync
main:
uses: ahmadnassri/actions/.github/workflows/pull-request-target.yml@master
secrets: inherit
uses: ahmadnassri/actions/.github/workflows/auto-merge.yml@master
permissions:
contents: write
pull-requests: write

template-sync:
secrets: inherit
uses: ahmadnassri/actions/.github/workflows/template-sync.yml@master

0 comments on commit 29914a5

Please sign in to comment.