diff --git a/.github/workflows/commands.yaml b/.github/workflows/commands.yaml index deb33cd..abd0f4b 100644 --- a/.github/workflows/commands.yaml +++ b/.github/workflows/commands.yaml @@ -2,18 +2,15 @@ name: commands on: [issue_comment] +permissions: + contents: write + pull-requests: write + jobs: test-e2e: runs-on: ubuntu-latest if: ${{ startsWith(github.event.comment.body, '/ok-to-test') && github.event.issue.pull_request }} steps: - - uses: TheModdingInquisition/actions-team-membership@v1.0 - with: - organization: anza-labs - team: core - token: ${{ secrets.READ_ORG }} - comment: ":red_circle: I'm sorry @${{ github.event.comment.user.login }}, I'm afraid I can't do that." - exit: true - uses: actions/checkout@v2 - env: GH_TOKEN: ${{ github.token }} @@ -47,7 +44,7 @@ jobs: - run: | make install deploy IMG=lke-operator:e2e - run: | - test-e2e CHAINSAW_ARGS='--report-format=XML' + make test-e2e CHAINSAW_ARGS='--report-format=XML' id: e2e continue-on-error: true - run: | @@ -56,7 +53,6 @@ jobs: poetry run report echo 'EOF' } >> "${GITHUB_OUTPUT}" - if: ${{ success() || failure() }} id: report - uses: marocchino/sticky-pull-request-comment@v2 with: