diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eac26fa..456bc11 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,13 +6,5 @@ jobs: name: A job to say hello steps: - uses: actions/checkout@v2 - - name: Hello world action step - id: hello - uses: ./.github/actions/hello-docker - with: - who-to-greet: 'Mona the Octocat' - access-token: '${{ secrets.ISSUE_TEST_TOKEN }}' - exclude-workflow-files: 'performance.yml performance-integration-tests.yml' - # Use the output from the `hello` step - name: Get the output time - run: echo "The time was ${{ steps.hello.outputs.time }}" + run: echo "The time was " diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ff0e8c8..64ee0c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: test_issue_generation -on: [pull_request] +on: [pull_request, push] jobs: get_link: @@ -33,8 +33,14 @@ jobs: with: name: job_log_link path: id_artifact.txt + - name: run after each pr + if: github.event_name == 'pull_request' + run: | + echo "the branch is here." + echo "${{ github.head_ref }}" + echo "see if it works." - name: run after merge - if: github.action == 'closed' && github.event.pull_request.merged == true + if: github.event_name == 'push' run: | echo "the branch is here." echo "${{ github.head_ref }}"