Skip to content

Commit 0f8afd8

Browse files
committed
fix(cachix): skip push for pull requests
1 parent 67dc072 commit 0f8afd8

6 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
with:
7070
name: parca-agent
7171
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
72+
skipPush: '${{ github.event_name == "pull_request" }}'
7273

7374
- name: Set up DevShell
7475
run: nix develop --command true

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
with:
6060
name: parca-agent
6161
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
62+
skipPush: '${{ github.event_name == "pull_request" }}'
6263

6364
- name: Set up DevShell
6465
run: nix develop --command true

.github/workflows/container.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
with:
7474
name: parca-agent
7575
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
76+
skipPush: '${{ github.event_name == "pull_request" }}'
7677

7778
- name: Set image name
7879
run: |
@@ -153,6 +154,7 @@ jobs:
153154
with:
154155
name: parca-agent
155156
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
157+
skipPush: '${{ github.event_name == "pull_request" }}'
156158

157159
- name: Set up Go
158160
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
with:
6666
name: parca-agent
6767
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
68+
skipPush: '${{ github.event_name == "pull_request" }}'
6869

6970
- name: Set up Jsonnet
7071
run: ./env-jsonnet.sh

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
with:
5454
name: parca-agent
5555
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
56+
skipPush: '${{ github.event_name == "pull_request" }}'
5657

5758
- name: Set up DevShell
5859
run: nix develop --command true

.github/workflows/snap.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
with:
6767
name: parca-agent
6868
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
69+
skipPush: '${{ github.event_name == "pull_request" }}'
6970

7071
- name: Setup LXD (for Snapcraft)
7172
uses: whywaita/setup-lxd@16e1bb2e132ea11dfa2a8b8be7750cb9ab1ccbcd # tag=v1.0.0

0 commit comments

Comments
 (0)