Skip to content

Update Twitter icon/name #67

Update Twitter icon/name

Update Twitter icon/name #67

Workflow file for this run

name: Add to project
on:
issues:
types: [opened,transferred]
jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@main
id: add_project
with:
project-url: ${{ secrets.PROJECT_PLANNING }}
github-token: ${{ secrets.BOT_TOKEN_PROJECT }}
- name: Set Team
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN_PROJECT }}
run: |
gh api graphql -f query='
mutation(
$project: ID!
$item: ID!
$status_field: ID!
$status_value: String!
) {
updateProjectV2ItemFieldValue(
input: {
projectId: $project
itemId: $item
fieldId: $status_field
value: {
singleSelectOptionId: $status_value
}
}
) {
projectV2Item {
id
}
}
}' -f project=${{ secrets.PROJECT_PLANNING_ID }} -f item=${{ steps.add_project.outputs.itemId }} -f status_field=${{ secrets.PLANNING_TEAM_FIELD_ID }} -f status_value=ed46988b --silent