chore(ci): bump actions/add-to-project from 1.0.1 to 1.0.2 #594
Workflow file for this run
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
# Add new pull requests to Gardener project board for triage | |
name: Add PR to Gardener board | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- reopened | |
jobs: | |
add-contributor-to-project: | |
name: Add contributor PR to Gardener project board | |
runs-on: ubuntu-latest | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
steps: | |
- name: Generate authentication token | |
id: generate_token | |
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a | |
with: | |
app_id: ${{ secrets.GH_APP_DATADOG_VECTOR_CI_APP_ID }} | |
private_key: ${{ secrets.GH_APP_DATADOG_VECTOR_CI_APP_PRIVATE_KEY }} | |
- uses: tspascoal/get-user-teams-membership@v3 | |
id: checkVectorMember | |
with: | |
username: ${{ github.actor }} | |
team: vector | |
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} | |
- uses: actions/add-to-project@v1.0.2 | |
if: ${{ steps.checkVectorMember.outputs.isTeamMember == 'false' }} | |
with: | |
project-url: https://github.com/orgs/vectordotdev/projects/49 | |
github-token: ${{ secrets.GH_PROJECT_PAT }} | |
add-dependabot-to-project: | |
name: Add dependabot PR to Gardener project board | |
runs-on: ubuntu-latest | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
steps: | |
- uses: actions/add-to-project@v1.0.2 | |
with: | |
project-url: https://github.com/orgs/vectordotdev/projects/49 | |
github-token: ${{ secrets.GH_PROJECT_PAT }} |