Skip to content

Create github-actions-demo.yml #1

Create github-actions-demo.yml

Create github-actions-demo.yml #1

name: Github actions demo

Check failure on line 1 in .github/workflows/github-actions-demo.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/github-actions-demo.yml

Invalid workflow file

`pull-request` is not a valid event name
on:
push:
branches: [ main ]
paths-ignore: [ .github/** ]
pull-request:
branches: [ main ]
schedule:
- cron : '15 6 * * 0'
workflow-dispatch:
jobs:
Build:
runs-on: ubuntu-latest
steps:
- run: |
echo "🎉 The job was triggered by event: ${{ github.event_name }}"
echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ."
- uses: actions/[email protected]
- name: List files in the repository
run: |
echo "The repository ${{ github.repository }} contains the following files:"
tree