mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-27 05:23:37 +00:00
Cleaned up some unrequired quoting of YAML strings
This commit is contained in:
parent
174039b7cd
commit
6850b95a85
4 changed files with 23 additions and 23 deletions
12
.github/workflows/add-content-to-project.yml
vendored
12
.github/workflows/add-content-to-project.yml
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
# Based on https://github.com/leonsteinhaeuser/project-beta-automations
|
# 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:
|
on:
|
||||||
issues:
|
issues:
|
||||||
|
|
@ -15,25 +15,25 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
add-content-to-project:
|
add-content-to-project:
|
||||||
name: "Add Content to project"
|
name: Add Content to project
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: "Set Issue to 'Priority = Triage Next'"
|
- name: Set Issue to 'Priority = Triage Next'
|
||||||
uses: leonsteinhaeuser/project-beta-automations@v2.0.0
|
uses: leonsteinhaeuser/project-beta-automations@v2.0.0
|
||||||
if: github.event_name == 'issues'
|
if: github.event_name == 'issues'
|
||||||
with:
|
with:
|
||||||
gh_token: ${{ secrets.TF_DEVEX_PROJECT_GITHUB_TOKEN }}
|
gh_token: ${{ secrets.TF_DEVEX_PROJECT_GITHUB_TOKEN }}
|
||||||
organization: "hashicorp"
|
organization: hashicorp
|
||||||
project_id: 99 #< https://github.com/orgs/hashicorp/projects/99
|
project_id: 99 #< https://github.com/orgs/hashicorp/projects/99
|
||||||
resource_node_id: ${{ github.event.issue.node_id }}
|
resource_node_id: ${{ github.event.issue.node_id }}
|
||||||
operation_mode: custom_field
|
operation_mode: custom_field
|
||||||
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@v2.0.0
|
uses: leonsteinhaeuser/project-beta-automations@v2.0.0
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
with:
|
with:
|
||||||
gh_token: ${{ secrets.TF_DEVEX_PROJECT_GITHUB_TOKEN }}
|
gh_token: ${{ secrets.TF_DEVEX_PROJECT_GITHUB_TOKEN }}
|
||||||
organization: "hashicorp"
|
organization: hashicorp
|
||||||
project_id: 99 #< https://github.com/orgs/hashicorp/projects/99
|
project_id: 99 #< https://github.com/orgs/hashicorp/projects/99
|
||||||
resource_node_id: ${{ github.event.pull_request.node_id }}
|
resource_node_id: ${{ github.event.pull_request.node_id }}
|
||||||
operation_mode: custom_field
|
operation_mode: custom_field
|
||||||
|
|
|
||||||
4
.github/workflows/continuous-integration.yml
vendored
4
.github/workflows/continuous-integration.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: 'Continuous Integration'
|
name: Continuous Integration
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
- name: Setup Node.js 16.x
|
- name: Setup Node.js 16.x
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: npm clean-install
|
run: npm clean-install
|
||||||
|
|
|
||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -10,7 +10,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: GH Release
|
- name: GH Release
|
||||||
|
|
|
||||||
24
.github/workflows/setup-terraform.yml
vendored
24
.github/workflows/setup-terraform.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: 'Setup Terraform'
|
name: Setup Terraform
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
@ -12,7 +12,7 @@ defaults:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
terraform-versions:
|
terraform-versions:
|
||||||
name: 'Terraform Versions'
|
name: Terraform Versions
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -36,7 +36,7 @@ jobs:
|
||||||
run: terraform version | grep 'Terraform v'
|
run: terraform version | grep 'Terraform v'
|
||||||
|
|
||||||
terraform-versions-no-wrapper:
|
terraform-versions-no-wrapper:
|
||||||
name: 'Terraform Versions No Wrapper'
|
name: Terraform Versions No Wrapper
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -61,7 +61,7 @@ jobs:
|
||||||
run: terraform version | grep 'Terraform v'
|
run: terraform version | grep 'Terraform v'
|
||||||
|
|
||||||
terraform-versions-constraints:
|
terraform-versions-constraints:
|
||||||
name: 'Terraform Versions Constraints'
|
name: Terraform Versions Constraints
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -80,7 +80,7 @@ jobs:
|
||||||
run: terraform version | grep 'Terraform v0\.12'
|
run: terraform version | grep 'Terraform v0\.12'
|
||||||
|
|
||||||
terraform-versions-constraints-no-wrapper:
|
terraform-versions-constraints-no-wrapper:
|
||||||
name: 'Terraform Versions Constraints No Wrapper'
|
name: Terraform Versions Constraints No Wrapper
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -100,7 +100,7 @@ jobs:
|
||||||
run: terraform version | grep 'Terraform v0\.12'
|
run: terraform version | grep 'Terraform v0\.12'
|
||||||
|
|
||||||
terraform-credentials-cloud:
|
terraform-credentials-cloud:
|
||||||
name: 'Terraform Cloud Credentials'
|
name: Terraform Cloud Credentials
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -129,7 +129,7 @@ jobs:
|
||||||
cat ${HOME}/.terraformrc | grep 'token = "${{ env.TF_CLOUD_API_TOKEN }}"'
|
cat ${HOME}/.terraformrc | grep 'token = "${{ env.TF_CLOUD_API_TOKEN }}"'
|
||||||
|
|
||||||
terraform-credentials-enterprise:
|
terraform-credentials-enterprise:
|
||||||
name: 'Terraform Enterprise Credentials'
|
name: Terraform Enterprise Credentials
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -159,7 +159,7 @@ jobs:
|
||||||
cat ${HOME}/.terraformrc | grep 'token = "${{ env.TF_CLOUD_API_TOKEN }}"'
|
cat ${HOME}/.terraformrc | grep 'token = "${{ env.TF_CLOUD_API_TOKEN }}"'
|
||||||
|
|
||||||
terraform-credentials-none:
|
terraform-credentials-none:
|
||||||
name: 'Terraform No Credentials'
|
name: Terraform No Credentials
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -182,7 +182,7 @@ jobs:
|
||||||
[[ -f ${HOME}/.terraformrc ]] || exit 0
|
[[ -f ${HOME}/.terraformrc ]] || exit 0
|
||||||
|
|
||||||
terraform-arguments:
|
terraform-arguments:
|
||||||
name: 'Terraform Arguments'
|
name: Terraform Arguments
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -213,7 +213,7 @@ jobs:
|
||||||
run: terraform fmt -check -list=true -no-color
|
run: terraform fmt -check -list=true -no-color
|
||||||
|
|
||||||
terraform-arguments-no-wrapper:
|
terraform-arguments-no-wrapper:
|
||||||
name: 'Terraform Arguments No Wrapper'
|
name: Terraform Arguments No Wrapper
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -246,7 +246,7 @@ jobs:
|
||||||
run: terraform fmt -check -list=true -no-color
|
run: terraform fmt -check -list=true -no-color
|
||||||
|
|
||||||
terraform-run-local:
|
terraform-run-local:
|
||||||
name: 'Terraform Run Local'
|
name: Terraform Run Local
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -279,7 +279,7 @@ jobs:
|
||||||
run: echo "${{ steps.plan.outputs.stdout }}"
|
run: echo "${{ steps.plan.outputs.stdout }}"
|
||||||
|
|
||||||
terraform-run-local-no-wrapper:
|
terraform-run-local-no-wrapper:
|
||||||
name: 'Terraform Run Local No Wrapper'
|
name: Terraform Run Local No Wrapper
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue