Cleaned up some unrequired quoting of YAML strings

This commit is contained in:
Peter Mescalchin 2022-06-14 10:18:02 +10:00
parent 174039b7cd
commit 6850b95a85
4 changed files with 23 additions and 23 deletions

View file

@ -1,6 +1,6 @@
# Based on https://github.com/leonsteinhaeuser/project-beta-automations
name: "Add Issues/PRs to TF Provider DevEx team board"
name: Add Issues/PRs to TF Provider DevEx team board
on:
issues:
@ -15,26 +15,26 @@ on:
jobs:
add-content-to-project:
name: "Add Content to project"
name: Add Content to project
runs-on: ubuntu-latest
steps:
- name: "Set Issue to 'Priority = Triage Next'"
- name: Set Issue to 'Priority = Triage Next'
uses: leonsteinhaeuser/project-beta-automations@v2.0.0
if: github.event_name == 'issues'
with:
gh_token: ${{ secrets.TF_DEVEX_PROJECT_GITHUB_TOKEN }}
organization: "hashicorp"
project_id: 99 #< https://github.com/orgs/hashicorp/projects/99
organization: hashicorp
project_id: 99 #< https://github.com/orgs/hashicorp/projects/99
resource_node_id: ${{ github.event.issue.node_id }}
operation_mode: custom_field
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@v2.0.0
if: github.event_name == 'pull_request'
with:
gh_token: ${{ secrets.TF_DEVEX_PROJECT_GITHUB_TOKEN }}
organization: "hashicorp"
project_id: 99 #< https://github.com/orgs/hashicorp/projects/99
organization: hashicorp
project_id: 99 #< https://github.com/orgs/hashicorp/projects/99
resource_node_id: ${{ github.event.pull_request.node_id }}
operation_mode: custom_field
custom_field_values: '[{\"name\":\"Priority\",\"type\":\"single_select\",\"value\":\"Triage Next\"}]'