Difference between revisions of "If:"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
+ | [[if: failure()]] | ||
+ | if: failure() && [[github.event_name]] != 'pull_request' | ||
+ | |||
+ | [[if: always()]] | ||
Line 7: | Line 12: | ||
https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#status-check-functions | https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#status-check-functions | ||
− | + | ||
== See also == | == See also == | ||
+ | * {{if:}} | ||
* {{GHA}} | * {{GHA}} | ||
+ | |||
+ | [[Category:GitHub Actions]] |
Latest revision as of 10:32, 24 October 2024
if: failure() if: failure() && github.event_name != 'pull_request'
if: always()
See also[edit]
- if:
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
Advertising: