Skip to content

Commit

Permalink
[Actions] Updated .github/workflows/pr-lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Apr 8, 2024
1 parent 9da37d0 commit c5d4c51
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Initialise Workspace"
if: startsWith(runner.name, 'buildagent-')
shell: bash
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"

- name: "Info"
uses: actions/github-script@v7.0.1
with:
Expand All @@ -38,6 +40,7 @@ jobs:
# runs-on: ubuntu-latest
# steps:
# - name: "Initialise Workspace"
# if: startsWith(runner.name, 'buildagent-')
# shell: bash
# run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
# - name: "Checkout Source"
Expand All @@ -59,6 +62,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Initialise Workspace"
if: startsWith(runner.name, 'buildagent-')
shell: bash
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"

Expand Down Expand Up @@ -87,6 +91,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Initialise Workspace"
if: startsWith(runner.name, 'buildagent-')
shell: bash
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"

Expand Down Expand Up @@ -218,6 +223,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Initialise Workspace"
if: startsWith(runner.name, 'buildagent-')
shell: bash
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"

Expand Down Expand Up @@ -260,6 +266,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Initialise Workspace"
if: startsWith(runner.name, 'buildagent-')
shell: bash
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"

Expand Down Expand Up @@ -294,6 +301,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Initialise Workspace"
if: startsWith(runner.name, 'buildagent-')
shell: bash
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"

Expand Down Expand Up @@ -328,6 +336,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Initialise Workspace"
if: startsWith(runner.name, 'buildagent-')
shell: bash
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"

Expand Down Expand Up @@ -363,6 +372,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Initialise Workspace"
if: startsWith(runner.name, 'buildagent-')
shell: bash
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"

Expand Down Expand Up @@ -409,6 +419,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Initialise Workspace"
if: startsWith(runner.name, 'buildagent-')
shell: bash
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"

Expand Down Expand Up @@ -445,6 +456,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Initialise Workspace"
if: startsWith(runner.name, 'buildagent-')
shell: bash
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"

Expand Down

0 comments on commit c5d4c51

Please sign in to comment.