feat / deconstructing compas-flow #2853
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2021 Alliander N.V. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Add issues and pull request to project boards | |
on: [ issues, pull_request, pull_request_target ] | |
jobs: | |
github-actions-automate-projects: | |
runs-on: ubuntu-latest | |
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' | |
uses: alex-page/github-project-automation-plus@v0.8.3 | |
with: | |
project: CoMPAS SCT Board | |
column: To do | |
repo-token: ${{ secrets.ORG_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' | |
uses: alex-page/github-project-automation-plus@v0.8.3 | |
with: | |
project: CoMPAS SCT 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 | |
repo-token: ${{ secrets.ORG_GITHUB_ACTION_SECRET }} |