Skip to content

Commit 145f4c7

Browse files
committed
conditional execution
1 parent f31458c commit 145f4c7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/extra.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
with:
2121
go-version: 1.14.4 # optional
2222
- name: Update Dependency
23-
env:
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2523
run: go get -u ./...
2624

2725
- name: Verify Defference

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
name: Push Docker image to Github Packages
3535
runs-on: ubuntu-latest
3636
needs: build
37-
if: github.event_name != 'push'
37+
if: github.event_name != 'pull_request'
3838
steps:
3939
- name: Checkout
4040
uses: actions/checkout@v2

0 commit comments

Comments
 (0)