diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 41097d7..bf81f19 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,12 +1,18 @@ -name: Basic Workflow -on: push +name: 00 Basic Workflow +# Controls when the workflow will run +on: [push, pull_request, workflow_dispatch] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - + # This workflow contains a single job called "build" build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4.1.1 - - name: Run a one-line script - run: echo Hello, world! + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4.1.1 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world!