Skip to content

Commit

Permalink
Inherit secrets for github action workflow_call
Browse files Browse the repository at this point in the history
  • Loading branch information
vidi42 committed Apr 23, 2024
1 parent e39f254 commit 8b81ee4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: build

# we have multiple workflows - this helps to distinguish for them
run-name: "${{ github.event.pull_request.title || github.head_ref }} - Codestyle"
run-name: "${{ github.event_name == 'pull_request' && github.event.pull_request.title || github.head_ref }} - Build & Test"

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
name: "CodeQL"

# we have multiple workflows - this helps to distinguish for them
run-name: "${{ github.event.pull_request.title || github.head_ref }} - Codestyle"
run-name: "${{ github.event_name == 'pull_request' && github.event.pull_request.title || github.head_ref }} - CodeQL"

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Codestyle"

# we have multiple workflows - this helps to distinguish for them
run-name: "${{ github.event.pull_request.title || github.head_ref }} - Codestyle"
run-name: "${{ github.event_name == 'pull_request' && github.event.pull_request.title || github.head_ref }} - Codestyle"

on:
push:
Expand Down

0 comments on commit 8b81ee4

Please sign in to comment.