Skip to content

Commit

Permalink
[Dependencies] - Update .github/workflows/approve-dependabot.yml to m…
Browse files Browse the repository at this point in the history
…atch the template repo
  • Loading branch information
credfeto committed Oct 9, 2023
1 parent d3e74fc commit ec3aba8
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/approve-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ jobs:
# Specifically check that dependabot (or another trusted party) created this pull-request, and that it has been labelled correctly.

steps:
- run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
- run: echo "${{github.repository_owner}}"
- uses: alexwilson/enable-github-automerge-action@1.0.0
- name: "Initialise Workspace"
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
- name: "Check Repo Owner"
run: echo "${{github.repository_owner}}"
- name: "Auto Merge"
uses: alexwilson/enable-github-automerge-action@1.0.0
with:
github-token: ${{secrets.SOURCE_PUSH_TOKEN}}
merge-method: "MERGE"
Expand All @@ -46,9 +49,12 @@ jobs:
pull-requests: write

steps:
- run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
- run: echo "${{github.repository_owner}}"
- uses: hmarr/auto-approve-action@v3
- name: "Initialise Workspace"
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
- name: "Check Repo Owner"
run: echo "${{"github.repository_owner}}"
- name: "Approve"
uses: hmarr/auto-approve-action@v3
with:
github-token: ${{secrets.SOURCE_PUSH_TOKEN}}

Expand Down

0 comments on commit ec3aba8

Please sign in to comment.