Skip to content

Commit

Permalink
fix: actions runner label (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
grabskimm authored Apr 25, 2024
2 parents 0691856 + 1d51b33 commit 895302a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 32 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/dev_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,6 @@ jobs:
pull-requests: write
steps:

# Load required tokens
- name: Load secret
uses: 1password/load-secrets-action@v1
with:
# Export loaded secrets as environment variables
export-env: true
env:
OP_CONNECT_HOST: ${{ secrets.OP_CONNECT_HOST }}
OP_CONNECT_TOKEN: ${{ secrets.OP_CONNECT_TOKEN }}
# Path to GitHub Credentials
GH_TOKEN: op://op-github-devops/GH_TOKEN/proofs

- uses: actions/checkout@v3

- name: Assign GitHub labels
Expand All @@ -42,6 +30,6 @@ jobs:
github.event.action == 'synchronize')
uses: actions/[email protected]
with:
repo-token: ${{ env.GH_TOKEN }}
configuration-path: .github/workflows/dev_pr/labeler.yml
repo-token: ${{ secrets.GH_TOKEN }}
configuration-path: .github/workflows/dev_pr/labeler.yml@fix/actions_secrets
sync-labels: true
6 changes: 3 additions & 3 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

test:
name: Test Suite
runs-on: ubuntu-22.04-8core
runs-on: large-8-core-32gb-22-04
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:

test-wasm:
name: Test Wasm
runs-on: ubuntu-22.04-8core
runs-on: large-8-core-32gb-22-04
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
clippy:
name: Clippy
runs-on: ubuntu-22.04-8core
runs-on: large-8-core-32gb-22-04
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down
17 changes: 2 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,10 @@ jobs:
environment: deploy
runs-on: large-8-core-32gb-22-04
steps:
# Load required tokens
- name: Load secret
uses: 1password/load-secrets-action@v1
with:
# Export loaded secrets as environment variables
export-env: true
env:
OP_CONNECT_HOST: ${{ secrets.OP_CONNECT_HOST }}
OP_CONNECT_TOKEN: ${{ secrets.OP_CONNECT_TOKEN }}
# Path to GitHub Credentials
GH_TOKEN: op://op-github-devops/GH_TOKEN/proofs


- name: Checkout code
uses: actions/checkout@v3
with:
token: ${{ env.GH_TOKEN }}
token: ${{ secrets.GH_TOKEN }}

- run: git config --global --add safe.directory $(realpath .)

Expand All @@ -40,4 +27,4 @@ jobs:
npm install semantic-release
npx semantic-release
env:
GH_TOKEN: ${{ env.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit 895302a

Please sign in to comment.