Skip to content

Commit

Permalink
test 5
Browse files Browse the repository at this point in the history
  • Loading branch information
samirromdhani committed Oct 8, 2024
1 parent d47bf74 commit 8ae1180
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 21 deletions.
47 changes: 26 additions & 21 deletions .github/workflows/automate_projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8ae1180

Please sign in to comment.