diff --git a/.github/workflows/automate_projects.yml b/.github/workflows/automate_projects.yml index c7e2661d4..dbdcc5ee5 100644 --- a/.github/workflows/automate_projects.yml +++ b/.github/workflows/automate_projects.yml @@ -4,7 +4,13 @@ name: Add issues and pull request to project boards -on: [ issues, pull_request, pull_request_target ] +on: + issues: + types: [opened] + pull_request: + types: [opened] + pull_request_target: + types: [opened] jobs: github-actions-automate-projects: @@ -13,31 +19,30 @@ jobs: if: ${{ (github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]') || (github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target') }} steps: - name: add-new-issues-to-repository-based-project-column - if: github.event_name == 'issues' && github.event.action == 'opened' + if: github.event_name == 'issues' uses: alex-page/github-project-automation-plus@v0.8.3 with: - project: CoMPAS SCT Board + project: samirromdhani sct Board column: To do - repo-token: ${{ secrets.ORG_GITHUB_ACTION_SECRET }} + repo-token: ${{ secrets.SCT_GITHUB_ACTION_SECRET }} - name: add-new-pull-request-to-repository-based-project-column - if: (github.event_name == 'pull_request' || github.event_name == 'pull_request_target') && github.event.action == 'opened' + if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' uses: alex-page/github-project-automation-plus@v0.8.3 with: - project: CoMPAS SCT Board + project: samirromdhani sct Board column: To do - repo-token: ${{ secrets.ORG_GITHUB_ACTION_SECRET }} + repo-token: ${{ secrets.SCT_GITHUB_ACTION_SECRET }} - - name: add-new-issues-to-organization-based-project-column - if: github.event_name == 'issues' && github.event.action == 'opened' - uses: alex-page/github-project-automation-plus@v0.8.3 - with: - project: CoMPAS Issues Overview Board - column: To do - repo-token: ${{ secrets.ORG_GITHUB_ACTION_SECRET }} - - name: add-new-pull-request-to-organization-based-project-column - if: (github.event_name == 'pull_request' || github.event_name == 'pull_request_target') && github.event.action == 'opened' - uses: alex-page/github-project-automation-plus@v0.8.3 - with: - project: CoMPAS Pull Request Overview Board - column: To do - repo-token: ${{ secrets.ORG_GITHUB_ACTION_SECRET }} +# - name: add-new-issues-to-organization-based-project-column +# if: github.event_name == 'issues' && github.event.action == 'opened' +# uses: alex-page/github-project-automation-plus@v0.8.3 +# with: +# project: CoMPAS Issues Overview Board +# column: To do +# repo-token: ${{ secrets.ORG_GITHUB_ACTION_SECRET }} +# - name: add-new-pull-request-to-organization-based-project-column +# if: (github.event_name == 'pull_request' || github.event_name == 'pull_request_target') && github.event.action == 'opened' +# uses: alex-page/github-project-automation-plus@v0.8.3 +# with: +# project: CoMPAS Pull Request Overview Board +# column: To do diff --git a/.github/workflows/build-project.yml b/.github/workflows/build-project.txt similarity index 100% rename from .github/workflows/build-project.yml rename to .github/workflows/build-project.txt diff --git a/.github/workflows/sonarcloud-analysis.yml b/.github/workflows/sonarcloud-analysis.txt similarity index 100% rename from .github/workflows/sonarcloud-analysis.yml rename to .github/workflows/sonarcloud-analysis.txt diff --git a/.github/workflows/sonarcloud-build.yml b/.github/workflows/sonarcloud-build.txt similarity index 100% rename from .github/workflows/sonarcloud-build.yml rename to .github/workflows/sonarcloud-build.txt