This commit is contained in:
Peter Mescalchin 2022-09-18 09:36:57 +00:00 committed by GitHub
commit a1ea5d75a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,25 +15,25 @@ 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"
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"
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

View file

@ -1,4 +1,4 @@
name: 'Continuous Integration'
name: Continuous Integration
on:
push:
@ -20,7 +20,7 @@ jobs:
- name: Setup Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: 16.x
- name: Install
run: npm clean-install

View file

@ -10,7 +10,7 @@ on:
jobs:
release:
runs-on: "ubuntu-latest"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: GH Release

View file

@ -1,4 +1,4 @@
name: 'Setup Terraform'
name: Setup Terraform
on:
push:
@ -12,7 +12,7 @@ defaults:
jobs:
terraform-versions:
name: 'Terraform Versions'
name: Terraform Versions
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -36,7 +36,7 @@ jobs:
run: terraform version | grep 'Terraform v'
terraform-versions-no-wrapper:
name: 'Terraform Versions No Wrapper'
name: Terraform Versions No Wrapper
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -61,7 +61,7 @@ jobs:
run: terraform version | grep 'Terraform v'
terraform-versions-constraints:
name: 'Terraform Versions Constraints'
name: Terraform Versions Constraints
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -80,7 +80,7 @@ jobs:
run: terraform version | grep 'Terraform v0\.12'
terraform-versions-constraints-no-wrapper:
name: 'Terraform Versions Constraints No Wrapper'
name: Terraform Versions Constraints No Wrapper
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -100,7 +100,7 @@ jobs:
run: terraform version | grep 'Terraform v0\.12'
terraform-credentials-cloud:
name: 'Terraform Cloud Credentials'
name: Terraform Cloud Credentials
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -129,7 +129,7 @@ jobs:
cat ${HOME}/.terraformrc | grep 'token = "${{ env.TF_CLOUD_API_TOKEN }}"'
terraform-credentials-enterprise:
name: 'Terraform Enterprise Credentials'
name: Terraform Enterprise Credentials
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -159,7 +159,7 @@ jobs:
cat ${HOME}/.terraformrc | grep 'token = "${{ env.TF_CLOUD_API_TOKEN }}"'
terraform-credentials-none:
name: 'Terraform No Credentials'
name: Terraform No Credentials
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -182,7 +182,7 @@ jobs:
[[ -f ${HOME}/.terraformrc ]] || exit 0
terraform-arguments:
name: 'Terraform Arguments'
name: Terraform Arguments
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -213,7 +213,7 @@ jobs:
run: terraform fmt -check -list=true -no-color
terraform-arguments-no-wrapper:
name: 'Terraform Arguments No Wrapper'
name: Terraform Arguments No Wrapper
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -246,7 +246,7 @@ jobs:
run: terraform fmt -check -list=true -no-color
terraform-run-local:
name: 'Terraform Run Local'
name: Terraform Run Local
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -279,7 +279,7 @@ jobs:
run: echo "${{ steps.plan.outputs.stdout }}"
terraform-run-local-no-wrapper:
name: 'Terraform Run Local No Wrapper'
name: Terraform Run Local No Wrapper
runs-on: ${{ matrix.os }}
strategy:
matrix: