Weekly Tock Log Auditing 2024-10-26 #160
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
name: Add new issues to the Delivery Assurance project board | |
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
initialize: | |
name: Initialize new issue | |
runs-on: ubuntu-latest | |
steps: | |
# Rather than use a personal access token to interact with the project, we | |
# can use this GitHub App. There's an API for exchanging app credentials | |
# for a short-term token, and we use that API here. | |
- name: get token | |
uses: tibdex/github-app-token@v1 | |
id: app_token | |
with: | |
app_id: ${{ secrets.PROJECT_APP_ID }} | |
installation_id: ${{ secrets.PROJECT_INSTALLATION_ID }} | |
private_key: ${{ secrets.PROJECT_PRIVATE_KEY }} | |
# Now we can add the issue to the project board. | |
- name: add to project board | |
uses: actions/[email protected] | |
with: | |
project-url: https://github.com/orgs/18F/projects/41 | |
github-token: ${{ steps.app_token.outputs.token }} | |
labeled: compliance, Compliance | |
label-operator: NOT |