mirror of
https://github.com/coder/terraform-provider-envbuilder.git
synced 2025-07-27 21:59:12 +00:00
chore(ci): update github workflows (#25)
This commit is contained in:
parent
d91dd1f210
commit
02b01389f0
3 changed files with 0 additions and 48 deletions
.github/workflows
21
.github/workflows/issue-comment-triage.yml
vendored
21
.github/workflows/issue-comment-triage.yml
vendored
|
@ -1,21 +0,0 @@
|
|||
# DO NOT EDIT - This GitHub Workflow is managed by automation
|
||||
# https://github.com/hashicorp/terraform-devex-repos
|
||||
name: Issue Comment Triage
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
issue_comment_triage:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
# issue_comment events are triggered by comments on issues and pull requests. Checking the
|
||||
# value of github.event.issue.pull_request tells us whether the issue is an issue or is
|
||||
# actually a pull request, allowing us to dynamically set the gh subcommand:
|
||||
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment-on-issues-only-or-pull-requests-only
|
||||
COMMAND: ${{ github.event.issue.pull_request && 'pr' || 'issue' }}
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
steps:
|
||||
- name: 'Remove waiting-response on comment'
|
||||
run: gh ${{ env.COMMAND }} edit ${{ github.event.issue.html_url }} --remove-label waiting-response
|
21
.github/workflows/lock.yml
vendored
21
.github/workflows/lock.yml
vendored
|
@ -1,21 +0,0 @@
|
|||
# DO NOT EDIT - This GitHub Workflow is managed by automation
|
||||
# https://github.com/hashicorp/terraform-devex-repos
|
||||
name: 'Lock Threads'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '43 20 * * *'
|
||||
|
||||
jobs:
|
||||
lock:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# NOTE: When TSCCR updates the GitHub action version, update the template workflow file to avoid drift:
|
||||
# https://github.com/hashicorp/terraform-devex-repos/blob/main/modules/repo/workflows/lock.tftpl
|
||||
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
|
||||
with:
|
||||
github-token: ${{ github.token }}
|
||||
issue-inactive-days: '30'
|
||||
issue-lock-reason: resolved
|
||||
pr-inactive-days: '30'
|
||||
pr-lock-reason: resolved
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -42,12 +42,6 @@ jobs:
|
|||
with:
|
||||
go-version-file: "go.mod"
|
||||
cache: true
|
||||
# Temporarily download Terraform 1.8 prerelease for function documentation support.
|
||||
# When Terraform 1.8.0 final is released, this can be removed.
|
||||
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 # v3.1.1
|
||||
with:
|
||||
terraform_version: "1.8.0-alpha20240216"
|
||||
terraform_wrapper: false
|
||||
- run: go generate ./...
|
||||
- name: git diff
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue