diff --git a/.github/workflows/add-new-issues-to-oss-triaging.yml b/.github/workflows/add-new-issues-to-oss-triaging.yml deleted file mode 100644 index 7ba5038..0000000 --- a/.github/workflows/add-new-issues-to-oss-triaging.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Add any new issue to OSS Triaging project - -on: - issues: - types: - - opened - -jobs: - add-to-project: - name: Add issue to project - runs-on: ubuntu-latest - steps: - - uses: actions/add-to-project@v0.3.0 - with: - project-url: https://github.com/orgs/stackrox/projects/2 - github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }} diff --git a/.github/workflows/add-new-pr-to-oss-triaging.yml b/.github/workflows/add-new-pr-to-oss-triaging.yml index 79422ac..1dd3e7f 100644 --- a/.github/workflows/add-new-pr-to-oss-triaging.yml +++ b/.github/workflows/add-new-pr-to-oss-triaging.yml @@ -5,7 +5,6 @@ on: env: EXTERNAL_PR_LABEL: external-contributor - PROJECT_URL: https://github.com/orgs/stackrox/projects/2 # OSS Triaging board jobs: check-pr-if-external: @@ -24,21 +23,7 @@ jobs: run: | set -uo pipefail if [[ $BASE_REPO != $HEAD_REPO ]]; then - echo "::set-output name=is_external_pr::true" gh pr edit \ ${{ github.event.pull_request.number }} \ --add-label ${EXTERNAL_PR_LABEL} - else - echo "::set-output name=is_external_pr::false" fi - - add-to-project: - name: Add pull request to project - runs-on: ubuntu-latest - needs: [check-pr-if-external] - if: needs.check-pr-if-external.outputs.is_external_pr == 'true' - steps: - - uses: actions/add-to-project@v0.3.0 - with: - project-url: ${{ env.PROJECT_URL }} - github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }}