diff --git a/.github/workflows/issues.yaml b/.github/workflows/issues.yaml new file mode 100644 index 00000000000..eb00232f4fa --- /dev/null +++ b/.github/workflows/issues.yaml @@ -0,0 +1,17 @@ +# Uses https://github.com/actions/add-to-project example to add issues to Anchore OSS project +name: Add issues to OSS project + +on: + issues: + types: + - opened + +jobs: + add-to-project: + name: Add issue to project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@main + with: + project-url: https://github.com/orgs/anchore/projects/22 + github-token: ${{ secrets.CI_WRITE_GITHUB_TOKEN }} diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml new file mode 100644 index 00000000000..f2ec0d1c12b --- /dev/null +++ b/.github/workflows/pr.yaml @@ -0,0 +1,17 @@ +# Uses https://github.com/actions/add-to-project example to add PR to Anchore OSS project +name: Add pr to OSS project + +on: + pull_request: + types: + - opened + +jobs: + add-to-project: + name: Add pr to project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@main + with: + project-url: https://github.com/orgs/anchore/projects/22 + github-token: ${{ secrets.CI_WRITE_GITHUB_TOKEN }}