Skip to content

Commit 8a96d10

Browse files
committed
Update workflows
1 parent d903308 commit 8a96d10

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.github/workflows/analyze-code-ghsl.yml renamed to .github/workflows/analyze-ghsl.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Analyze Code - GitHub Super Linter"
1+
name: "Analyze - GitHub Super Linter"
22
on:
33
push:
44
branches:
@@ -7,15 +7,16 @@ on:
77
branches:
88
- "**"
99
types:
10-
- "opened"
1110
- "edited"
11+
- "opened"
1212
- "reopened"
1313
- "synchronize"
1414
workflow_dispatch:
1515
jobs:
16-
analyze-code-ghsl:
17-
name: "Analyze Code - GitHub Super Linter"
16+
analyze-ghsl:
17+
name: "Analyze - GitHub Super Linter"
1818
runs-on: "ubuntu-latest"
19+
if: "${{!(github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.label, format('{0}:', github.repository_owner)))}}"
1920
steps:
2021
- name: "Checkout Repository"
2122
uses: "actions/[email protected]"

.github/workflows/announce-new-release-discord.yml renamed to .github/workflows/announce-newrelease-discord.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: "Announce New Release - Discord"
1+
name: "Announce - New Release - Discord"
22
on:
33
release:
44
types:
55
- "published"
66
jobs:
7-
announce-new-release-discord:
8-
name: "Announce New Release - Discord"
7+
announce-newrelease-discord:
8+
name: "Announce - New Release - Discord"
99
runs-on: "ubuntu-latest"
1010
steps:
1111
- uses: "hugoalh/[email protected]"

.github/workflows/scan-virus.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Scan Virus"
1+
name: "Scan - Virus"
22
on:
33
push:
44
branches:
@@ -7,8 +7,8 @@ on:
77
branches:
88
- "**"
99
types:
10-
- "opened"
1110
- "edited"
11+
- "opened"
1212
- "reopened"
1313
- "synchronize"
1414
workflow_dispatch:
@@ -19,8 +19,9 @@ on:
1919
default: "true"
2020
jobs:
2121
scan-virus:
22-
name: "Scan Virus"
22+
name: "Scan - Virus"
2323
runs-on: "ubuntu-latest"
24+
if: "${{!(github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.label, format('{0}:', github.repository_owner)))}}"
2425
steps:
2526
- name: "Checkout Repository"
2627
uses: "actions/[email protected]"

0 commit comments

Comments
 (0)