mirror of
https://github.com/Mibew/simple-icons.git
synced 2025-02-06 17:24:43 +03:00
008d289f69
* Auto assign to project workflow * Remove redundant newline * Update indentation in auto-assign-to-project.yml Co-authored-by: Eric Cornelissen <ericornelissen@gmail.com>
26 lines
846 B
YAML
26 lines
846 B
YAML
name: Auto Assign to Project(s)
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, labeled]
|
|
env:
|
|
MY_GITHUB_TOKEN: ${{ secrets.AUTO_ASSIGN_WORKFLOW_TOKEN }}
|
|
|
|
jobs:
|
|
assign-to-project:
|
|
runs-on: ubuntu-latest
|
|
name: Assign to Project
|
|
steps:
|
|
- name: Assign pull requests to "Unprioritised"
|
|
uses: srggrs/assign-one-project-github-action@1.2.0
|
|
if: github.event.action == 'opened'
|
|
with:
|
|
project: https://github.com/orgs/simple-icons/projects/2
|
|
column_name: Unprioritised
|
|
- name: Assign `icon outdated` pull requests to "Priority 1"
|
|
uses: srggrs/assign-one-project-github-action@1.2.0
|
|
if: contains(github.event.pull_request.labels.*.name, 'icon outdated')
|
|
with:
|
|
project: https://github.com/orgs/simple-icons/projects/2
|
|
column_name: Priority 1
|