Skip to content

Commit

Permalink
Testing custom messages
Browse files Browse the repository at this point in the history
  • Loading branch information
effectivelywild committed Nov 4, 2024
1 parent 54242c0 commit 21335bf
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/DevelopInBranch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,18 @@ jobs:
echo "Workflow triggered in branch '${{ github.ref }}."
echo "Workflow triggered by event '${{ github.event_name }}."
echo "Workflow triggered in branch '${{ github.actor }}."
- name: Message testing
run: |
echo "::debug::This is a debug message."
echo "::notice::This is a notice message."
echo "::warning::This is a warning message."
echo "::error::This is a error message."
- name: Checkout
uses: actions/[email protected]
- name: Lint
uses: devops-actions/[email protected]
- name: Bad Code
run: |

Check failure on line 32 in .github/workflows/DevelopInBranch.yml

View workflow job for this annotation

GitHub Actions / job1

"github.event.pull_request.title" is potentially untrusted. avoid using it directly in inline scripts. instead, pass it through an environment variable. see https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions for more details
echo "PR title is '${{ github.event.pull_request.title }}'."
- name: Message testing
run: |
echo "::debug::This is a debug message."
echo "::notice::This is a notice message."
echo "::warning::This is a warning message."
echo "::error::This is a error message."

0 comments on commit 21335bf

Please sign in to comment.