Skip to content

Commit

Permalink
[Dependencies] - Update .github/workflows/pr-update.yml to match the …
Browse files Browse the repository at this point in the history
…template repo
  • Loading branch information
credfeto committed Oct 9, 2023
1 parent e410311 commit add4ce8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/pr-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
if: ${{endsWith(github.repository , '-template')}}
runs-on: ubuntu-latest
steps:
- run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
- name: "Initialise Workspace"
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
- run: |
echo "Branch: ${{env.HEAD_REF}}"
echo "Base Branch: ${{env.BASE_REF}}"
Expand All @@ -37,7 +38,8 @@ jobs:
if: ${{github.actor != 'dependabot[bot]'}}
runs-on: ubuntu-latest
steps:
- run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
- name: "Initialise Workspace"
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
- uses: actions/labeler@v4
with:
repo-token: ${{secrets.SOURCE_PUSH_TOKEN}}
Expand All @@ -52,8 +54,10 @@ jobs:
&& github.actor != 'dependabot[bot]'}}
runs-on: ubuntu-latest
steps:
- run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
- uses: thomaseizinger/[email protected]
- name: "Initialise Workspace"
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
- name: "Assign PR to the creator"
uses: thomaseizinger/[email protected]
with:
repo-token: ${{secrets.SOURCE_PUSH_TOKEN}}

0 comments on commit add4ce8

Please sign in to comment.