Skip to content

build(deps): bump actions/create-github-app-token from 2.2.0 to 2.2.1 #1665

build(deps): bump actions/create-github-app-token from 2.2.0 to 2.2.1

build(deps): bump actions/create-github-app-token from 2.2.0 to 2.2.1 #1665

Workflow file for this run

name: Provider Team Working Board
permissions: {}
on:
issues:
types:
- assigned
- labeled
pull_request_target:
types:
- assigned
- labeled
- opened
jobs:
team_board:
name: Manage Board
runs-on: ubuntu-latest
env:
ISSUE_URL: ${{ github.event.issue.html_url || github.event.pull_request.html_url }}
steps:
- name: Generate GitHub App Token
id: token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PEM }}
- name: Checkout
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
sparse-checkout: .github/actions/
- name: Run Community Check
id: community_check
if: contains(fromJSON('["opened", "assigned"]'), github.event.action)
uses: ./.github/actions/community_check
with:
user_login: ${{ github.event.action == 'assigned' && github.event.assignee.login || github.event.pull_request.user.login }}
maintainers: ${{ secrets.MAINTAINERS }}
- name: Handle Maintainer Pull Requests
if: |
github.event.action == 'opened'
&& steps.community_check.outputs.maintainer == 'true'
uses: ./.github/actions/team_working_board
with:
github_token: ${{ steps.token.outputs.token }}
item_url: ${{ env.ISSUE_URL }}
status: "Maintainer PR"
view: "working-board"
- name: Handle Maintainer Assignments
if: |
github.event.action == 'assigned'
&& steps.community_check.outputs.maintainer == 'true'
uses: ./.github/actions/team_working_board
with:
github_token: ${{ steps.token.outputs.token }}
item_url: ${{ env.ISSUE_URL }}
status: "In Progress"
view: "working-board"
- name: Set View for Items Labeled prioritized
if: github.event.label.name == 'prioritized'
uses: ./.github/actions/team_working_board
with:
github_token: ${{ steps.token.outputs.token }}
item_url: ${{ env.ISSUE_URL }}
view: "working-board"
- name: Set View for Items Labeled engineering-initiative
if: github.event.label.name == 'engineering-initiative'
uses: ./.github/actions/community_check
with:
github_token: ${{ steps.token.outputs.token }}
item_url: ${{ env.ISSUE_URL }}
view: "engineering-initiative"