diff --git a/.github/workflows/sample-1.yaml b/.github/workflows/sample-1.yaml index 4f8a758..6ef56aa 100644 --- a/.github/workflows/sample-1.yaml +++ b/.github/workflows/sample-1.yaml @@ -1,8 +1,19 @@ -name: Print: Hello world! -on: [push] +name: Print_Hello_World +on: + push: + branches: [develop] + pull_request: + branches: [develop] + workflow_dispatch: + inputs: + example_input: + description: 'An example input for the workflow' + required: false + default: 'default_value' jobs: print_hello_world: runs-on: ubuntu-latest + if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }} steps: - name: Print Hello World run: echo "Hello world!" \ No newline at end of file