generated from credfeto/cs-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Dependencies] - Update .github/workflows/pr-update.yml to match the …
…template repo
- Loading branch information
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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}}" | ||
|
@@ -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}} | ||
|
@@ -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}} | ||
|