diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml new file mode 100644 index 00000000000..604ce77ff3f --- /dev/null +++ b/.github/workflows/add-to-project.yml @@ -0,0 +1,17 @@ +name: Add to Project + +on: + issues: + types: [ opened ] + pull_request_target: + types: [ opened ] + +jobs: + add-to-project: + runs-on: ubuntu-latest + steps: + - name: Add issue + uses: actions/add-to-project@v0.4.0 + with: + project-url: https://github.com/orgs/eclipse-edc/projects/3 + github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/assign-issue-to-project.yaml b/.github/workflows/assign-issue-to-project.yaml deleted file mode 100644 index d12221a4b0d..00000000000 --- a/.github/workflows/assign-issue-to-project.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: Check New Issue - -on: - issues: - types: [ opened ] -env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - -jobs: - assign-project: - runs-on: ubuntu-latest - steps: - - name: Assign to basic project - uses: srggrs/assign-one-project-github-action@1.3.1 - with: - project: 'https://github.com/orgs/eclipse-edc/projects/3' - column_name: 'Open' diff --git a/.github/workflows/assign-pr-to-project.yaml b/.github/workflows/assign-pr-to-project.yaml deleted file mode 100644 index c0372652590..00000000000 --- a/.github/workflows/assign-pr-to-project.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: Check New Pull Request - -on: - pull_request_target: - types: [ opened ] -env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - -jobs: - assign-project: - runs-on: ubuntu-latest - permissions: - repository-projects: write - steps: - - name: Assign to basic project - uses: srggrs/assign-one-project-github-action@1.3.1 - with: - project: 'https://github.com/orgs/eclipse-edc/projects/3' - column_name: 'In progress'