[CI] terraform-devex-repos automation

This commit is contained in:
Service Account - Terraform Provider DevEx 2024-06-04 10:10:14 -04:00
parent 79dc7f98ba
commit 69dd27efac

View file

@ -10,7 +10,7 @@ on:
# Calling it multiple times will be idempotent. # Calling it multiple times will be idempotent.
# #
# See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ # See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
# to see the reasoning behind using `pull_request_target` instead of `pull_request` # to see the reasoning behind using `pull_request_target` instead of `pull_request`
types: [opened, reopened, ready_for_review] types: [opened, reopened, ready_for_review]
jobs: jobs:
@ -30,7 +30,7 @@ jobs:
custom_field_values: '[{\"name\":\"Priority\",\"type\":\"single_select\",\"value\":\"Triage Next\"}]' custom_field_values: '[{\"name\":\"Priority\",\"type\":\"single_select\",\"value\":\"Triage Next\"}]'
- name: "Set Pull Request to 'Priority = Triage Next'" - name: "Set Pull Request to 'Priority = Triage Next'"
uses: leonsteinhaeuser/project-beta-automations@939000fb1900c9fc4f7b5058a09d9f833ebc6859 # v2.2.1 uses: leonsteinhaeuser/project-beta-automations@939000fb1900c9fc4f7b5058a09d9f833ebc6859 # v2.2.1
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request_target'
with: with:
gh_token: ${{ secrets.TF_DEVEX_PROJECT_GITHUB_TOKEN }} gh_token: ${{ secrets.TF_DEVEX_PROJECT_GITHUB_TOKEN }}
organization: "hashicorp" organization: "hashicorp"