diff --git a/.github/workflows/end.yaml b/.github/workflows/end.yaml index d9cc163..7e542cd 100644 --- a/.github/workflows/end.yaml +++ b/.github/workflows/end.yaml @@ -9,10 +9,7 @@ on: jobs: notify: runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - - name: Checkout code - uses: actions/checkout@v3 - name: Run a one-line script run: echo "Hello, this is the dependent workflow running after the main workflow!" diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 2eb16b9..f2607bf 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -9,8 +9,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v3 - name: Run a one-line script run: echo "Hello, this is the main workflow running!"