Skip to content

Public Health Image Library (PHIL) #1585

Public Health Image Library (PHIL)

Public Health Image Library (PHIL) #1585

Workflow file for this run

name: New issue automation
# ℹ️ https://github.com/WordPress/openverse/blob/main/.github/GITHUB.md#new-issue-automation
on:
issues:
types:
- opened
env:
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }} # Projects need a personal access token to work.
ISSUE_ID: ${{ github.event.issue.node_id }} # The global issue ID that works in both REST and GraphQL APIs.
jobs:
add_issue_to_project:
name: Add new issue to project
runs-on: ubuntu-latest
steps:
- uses: bulatt3/[email protected]
with:
project-url: https://github.com/orgs/WordPress/projects/75
github-token: ${{ secrets.ACCESS_TOKEN }}
# Exclude the issues with the following labels
labeled: project
label-operator: NOT
label-map: |
{ "Priority": [
{ "label": "🟥 priority: critical", "fieldValue": "🟥 priority: critical" },
{ "label": "🟧 priority: high", "fieldValue": "🟧 priority: high" },
{ "label": "🟨 priority: medium", "fieldValue": "🟨 priority: medium" },
{ "label": "🟩 priority: low", "fieldValue": "🟩 priority: low" }
]}