Skip to content

Commit 1e37ab1

Browse files
committed
* Fixed issue #48: Disable steps that requires secrets in GitHub Action workflows.
1 parent cf1b07e commit 1e37ab1

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

.github/workflows/build_linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
5050
- name: Deploy 'tests not available' badge before building
5151
uses: exuanbo/actions-deploy-gist@v1
52+
if: github.event_name != 'pull_request'
5253
with:
5354
token: ${{ secrets.BADGES }}
5455
gist_id: 58cf6c72c08e706335337d5ef9ca48e8
@@ -89,6 +90,7 @@ jobs:
8990

9091
- name: Deploy test badge to gist
9192
uses: exuanbo/actions-deploy-gist@v1
93+
if: github.event_name != 'pull_request'
9294
with:
9395
token: ${{ secrets.BADGES }}
9496
gist_id: 58cf6c72c08e706335337d5ef9ca48e8

.github/workflows/build_macos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
5050
- name: Deploy 'tests not available' badge before building
5151
uses: exuanbo/actions-deploy-gist@v1
52+
if: github.event_name != 'pull_request'
5253
with:
5354
token: ${{ secrets.BADGES }}
5455
gist_id: 58cf6c72c08e706335337d5ef9ca48e8
@@ -89,6 +90,7 @@ jobs:
8990

9091
- name: Deploy test badge to gist
9192
uses: exuanbo/actions-deploy-gist@v1
93+
if: github.event_name != 'pull_request'
9294
with:
9395
token: ${{ secrets.BADGES }}
9496
gist_id: 58cf6c72c08e706335337d5ef9ca48e8

.github/workflows/build_windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
5252
- name: Deploy 'tests not available' badge before building
5353
uses: exuanbo/actions-deploy-gist@v1
54+
if: github.event_name != 'pull_request'
5455
with:
5556
token: ${{ secrets.BADGES }}
5657
gist_id: 58cf6c72c08e706335337d5ef9ca48e8
@@ -91,6 +92,7 @@ jobs:
9192

9293
- name: Deploy test badge to gist
9394
uses: exuanbo/actions-deploy-gist@v1
95+
if: github.event_name != 'pull_request'
9496
with:
9597
token: ${{ secrets.BADGES }}
9698
gist_id: 58cf6c72c08e706335337d5ef9ca48e8

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Changes for 2.4.0:
1111
* Fixed issue #41: All the small things.
1212
* Fixed issue #42: Function getIdentifier does not remove special characters.
1313
* Fixed issue #43: Replace icons of sample project.
14+
* Fixed issue #48: Disable steps that requires secrets in GitHub Action workflows.
1415

1516

1617
Changes for 2.3.0:

0 commit comments

Comments
 (0)