diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 6d856c4..397376f 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -18,11 +18,3 @@ jobs: uses: ./.github/workflows/go-test.yaml secrets: inherit - - checks-passed: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - name: "Checks Passed" - runs-on: ubuntu-latest - needs: [lint, build, test] - steps: - - run: echo "All required passed!" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4e423b0..702565c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,9 +10,6 @@ on: concurrency: group: release-please-${{ github.ref }} -permissions: - contents: write - jobs: release-please: name: Release Please @@ -20,6 +17,9 @@ jobs: if: github.event.workflow_run.conclusion == 'success' + permissions: + contents: write + pull-requests: write steps: - uses: actions/checkout@v3 @@ -29,8 +29,6 @@ jobs: name: Fail Release runs-on: ubuntu-latest - permissions: {} - if: github.event.workflow_run.conclusion == 'failure' steps: