Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 42 additions & 6 deletions .github/workflows/AutoFormat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,19 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Acquire Secrets
uses: Gaucho-Racing/vault-pull-secrets@fa8269ea0faa78bd55f8628fd13680dae68908a2 # v1.3.0
with:
secrets: firmware-monorepo-autoformat.github_pat

- name: Checkout Pull Request
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 1
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.AUTOFORMAT_COMMIT_TOKEN }}
token: ${{ env.GITHUB_PAT }}

- name: Format C Files
run: |
Expand Down Expand Up @@ -51,13 +57,19 @@ jobs:
runs-on: ubuntu-slim
permissions:
contents: write
id-token: write
steps:
- name: Acquire Secrets
uses: Gaucho-Racing/vault-pull-secrets@fa8269ea0faa78bd55f8628fd13680dae68908a2 # v1.3.0
with:
secrets: firmware-monorepo-autoformat.github_pat

- name: Checkout Pull Request
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.AUTOFORMAT_COMMIT_TOKEN }}
fetch-depth: 1
token: ${{ env.GITHUB_PAT }}

- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
Expand All @@ -84,13 +96,19 @@ jobs:
runs-on: ubuntu-slim
permissions:
contents: write
id-token: write
steps:
- name: Acquire Secrets
uses: Gaucho-Racing/vault-pull-secrets@fa8269ea0faa78bd55f8628fd13680dae68908a2 # v1.3.0
with:
secrets: firmware-monorepo-autoformat.github_pat

- name: Checkout Pull Request
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.AUTOFORMAT_COMMIT_TOKEN }}
fetch-depth: 1
token: ${{ env.GITHUB_PAT }}

- name: Format JSON Files
run: |
Expand All @@ -113,13 +131,19 @@ jobs:
runs-on: ubuntu-slim
permissions:
contents: write
id-token: write
steps:
- name: Acquire Secrets
uses: Gaucho-Racing/vault-pull-secrets@fa8269ea0faa78bd55f8628fd13680dae68908a2 # v1.3.0
with:
secrets: firmware-monorepo-autoformat.github_pat

- name: Checkout Pull Request
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.AUTOFORMAT_COMMIT_TOKEN }}
fetch-depth: 1
token: ${{ env.GITHUB_PAT }}

- name: Setup Perl
uses: shogo82148/actions-setup-perl@a198315ec4e9244f206879ea7b63078003aec8a6 # v1.41.1
Expand Down Expand Up @@ -147,13 +171,19 @@ jobs:
runs-on: ubuntu-slim
permissions:
contents: write
id-token: write
steps:
- name: Acquire Secrets
uses: Gaucho-Racing/vault-pull-secrets@fa8269ea0faa78bd55f8628fd13680dae68908a2 # v1.3.0
with:
secrets: firmware-monorepo-autoformat.github_pat

- name: Checkout Pull Request
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.AUTOFORMAT_COMMIT_TOKEN }}
fetch-depth: 1
token: ${{ env.GITHUB_PAT }}

- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
Expand Down Expand Up @@ -187,13 +217,19 @@ jobs:
runs-on: ubuntu-slim
permissions:
contents: write
id-token: write
steps:
- name: Acquire Secrets
uses: Gaucho-Racing/vault-pull-secrets@fa8269ea0faa78bd55f8628fd13680dae68908a2 # v1.3.0
with:
secrets: firmware-monorepo-autoformat.github_pat

- name: Checkout Pull Request
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.AUTOFORMAT_COMMIT_TOKEN }}
fetch-depth: 1
token: ${{ env.GITHUB_PAT }}

- name: Setup NodeJS
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/Autogen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,19 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Acquire Secrets
uses: Gaucho-Racing/vault-pull-secrets@fa8269ea0faa78bd55f8628fd13680dae68908a2 # v1.3.0
with:
secrets: firmware-monorepo-autoformat.github_pat

- name: Checkout Pull Request
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 1
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.AUTOFORMAT_COMMIT_TOKEN }}
token: ${{ env.GITHUB_PAT }}

- name: Setup Perl
uses: shogo82148/actions-setup-perl@a198315ec4e9244f206879ea7b63078003aec8a6 # v1.41.1
Expand Down
Loading
Loading