Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save danrom74/ee1cf12344c25486916c025b570905b1 to your computer and use it in GitHub Desktop.

Select an option

Save danrom74/ee1cf12344c25486916c025b570905b1 to your computer and use it in GitHub Desktop.
name: Echo Messages on Push to Main
on:
push:
branches: [ "main" ]
jobs:
echo-job:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Echo Step 1
run: echo "πŸŽ‰ New commit detected on the main branch!"
- name: Echo Step 2
run: echo "πŸ”„ Starting the workflow..."
- name: Echo Step 3
run: echo "πŸš€ Performing some checks..."
- name: Echo Step 4
run: echo "βœ… Workflow completed successfully!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment