Commit graph

75 commits

Author SHA1 Message Date
dependabot[bot]
712b43959e
Bump actions/checkout from 5.0.0 to 6.0.0 in the github-actions group (#515)
Some checks failed
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-1 (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments-2 (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-1 (push) Has been cancelled
setup-terraform tests / Terraform No Credentials-2 (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform Arguments-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform Run Local-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local-2 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT-2 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-1 (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper-2 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-1 (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply-2 (push) Has been cancelled
* Bump actions/checkout from 5.0.0 to 6.0.0 in the github-actions group

Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](08c6903cd8...1af3b93b68)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>

* `npm audit fix`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2025-11-24 15:56:54 +01:00
dependabot[bot]
889df91364
Bump actions/setup-node from 5.0.0 to 6.0.0 in the github-actions group (#512)
Bumps the github-actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-node` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](a0853c2454...2028fbc5c2)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-22 08:23:15 -04:00
dependabot[bot]
7a460deeba
Bump the github-actions group with 2 updates (#504)
Bumps the github-actions group with 2 updates: [miniscruff/changie-action](https://github.com/miniscruff/changie-action) and [actions/setup-node](https://github.com/actions/setup-node).


Updates `miniscruff/changie-action` from 2.0.0 to 2.1.0
- [Release notes](https://github.com/miniscruff/changie-action/releases)
- [Changelog](https://github.com/miniscruff/changie-action/blob/main/CHANGELOG.md)
- [Commits](6dcc2533ca...5036dffa79)

Updates `actions/setup-node` from 4.4.0 to 5.0.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](49933ea528...a0853c2454)

---
updated-dependencies:
- dependency-name: miniscruff/changie-action
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-09 13:50:08 +02:00
dependabot[bot]
2531c42cf3
Bump actions/checkout from 4.2.2 to 5.0.0 in the github-actions group (#499)
Some checks failed
Continuous Integration / Check dist/ directory (push) Has been cancelled
Continuous Integration / Test (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints (push) Has been cancelled
setup-terraform tests / Terraform Versions (push) Has been cancelled
setup-terraform tests / Terraform Versions No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Versions Constraints No Wrapper (push) Has been cancelled
setup-terraform tests / HCP Terraform Credentials (push) Has been cancelled
setup-terraform tests / Terraform Enterprise Credentials (push) Has been cancelled
setup-terraform tests / Terraform Arguments (push) Has been cancelled
setup-terraform tests / Terraform No Credentials (push) Has been cancelled
setup-terraform tests / Terraform Arguments No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Run Local (push) Has been cancelled
setup-terraform tests / Terraform Run Local No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform STDOUT (push) Has been cancelled
setup-terraform tests / Terraform STDOUT No Wrapper (push) Has been cancelled
setup-terraform tests / Terraform Delayed Apply (push) Has been cancelled
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.2.2 to 5.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](11bd71901b...08c6903cd8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-18 15:26:42 +02:00
Service Account - Terraform Provider DevEx
922a7f49a5 [CI] Update lock workflow file 2025-08-14 12:23:27 -04:00
Austin Valle
5a8481b19f
update all packages and gh workflows (#489) 2025-06-02 16:50:34 -04:00
hashicorp-tsccr[bot]
852ca175a6
Result of tsccr-helper -log-level=info gha update -latest .github/ (#472)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2025-03-24 11:16:54 -04:00
hashicorp-tsccr[bot]
9e5c386f98
Result of tsccr-helper -log-level=info gha update -latest .github/ (#462)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2025-02-12 07:55:45 -05:00
Baraa Basata
1748f9de39
Update actions/reusable-workflows (#463) 2025-02-10 17:40:35 -05:00
hashicorp-tsccr[bot]
4fab011903
Result of tsccr-helper -log-level=info gha update -latest .github/ (#446)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-11-04 11:29:34 -05:00
hashicorp-tsccr[bot]
273780a335
Result of tsccr-helper -log-level=info gha update -latest . (#442)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-10-22 09:42:09 -04:00
hashicorp-tsccr[bot]
98aecdfa81
Result of tsccr-helper -log-level=info gha update -latest . (#438)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-10-07 09:58:00 -04:00
hashicorp-tsccr[bot]
76fd07bad3
Result of tsccr-helper -log-level=info gha update -latest . (#436)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-09-30 12:22:09 -04:00
hashicorp-tsccr[bot]
7f4493e155
Result of tsccr-helper -log-level=info gha update -latest . (#426)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2024-07-23 13:07:37 -04:00
hashicorp-tsccr[bot]
3235006f3a
Result of tsccr-helper -log-level=info gha update -latest . (#421)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2024-06-26 14:59:15 -04:00
Service Account - Terraform Provider DevEx
c5b46f3a20 [CI] Update lock workflow file 2024-06-10 16:08:51 -04:00
Service Account - Terraform Provider DevEx
0ec620c10e [CI] terraform-devex-repos automation 2024-06-04 13:09:11 -04:00
Service Account - Terraform Provider DevEx
02909a6782 [CI] terraform-devex-repos automation 2024-06-04 13:09:09 -04:00
Service Account - Terraform Provider DevEx
e2c57ad734 [CI] terraform-devex-repos automation 2024-06-04 13:07:44 -04:00
Service Account - Terraform Provider DevEx
69dd27efac [CI] terraform-devex-repos automation 2024-06-04 10:10:14 -04:00
Service Account - Terraform Provider DevEx
79dc7f98ba [CI] terraform-devex-repos automation 2024-06-04 10:10:11 -04:00
hashicorp-tsccr[bot]
070c2081b2
Result of tsccr-helper -log-level=info gha update -latest . (#418)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-05-28 10:13:08 -04:00
Service Account - Terraform Provider DevEx
f985329c37 [CI] Update lock workflow file 2024-05-22 13:47:27 -04:00
Service Account - Terraform Provider DevEx
fa933962d0 [CI] Update issue comment triage workflow file 2024-05-17 16:11:09 -04:00
Service Account - Terraform Provider DevEx
21093d5e31 [CI] Update issue comment triage workflow file 2024-05-17 15:48:17 -04:00
Service Account - Terraform Provider DevEx
e08428bc1b [CI] Update issue comment triage workflow file 2024-05-17 15:23:07 -04:00
Service Account - Terraform Provider DevEx
608a0c2d63 [CI] Update issue comment triage workflow file 2024-05-17 15:09:54 -04:00
hashicorp-tsccr[bot]
85c6779ba6
Result of tsccr-helper -log-level=info gha update -latest . (#415)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-05-13 09:04:15 -04:00
dependabot[bot]
77b7878004
Bump hashicorp/setup-copywrite from 1.1.2 to 1.1.3 (#414)
Bumps [hashicorp/setup-copywrite](https://github.com/hashicorp/setup-copywrite) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/hashicorp/setup-copywrite/releases)
- [Commits](867a1a2a06...32638da2d4)

---
updated-dependencies:
- dependency-name: hashicorp/setup-copywrite
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-10 14:56:07 -04:00
Benjamin Bennett
e0e08fea34
Replacing "Terraform Cloud" with "HCP Terraform" (#413) 2024-05-08 14:05:15 +01:00
Austin Valle
99441ecd44
wrapper: Write stdout/stderr data to stream when received (#410)
* wrapper: write stdout/stderr data to stream when received

* add a delay test

* temp comment

* uncomment actions

* add changelog
2024-05-07 09:51:25 -04:00
hashicorp-tsccr[bot]
5f32e8acaf
Result of tsccr-helper -log-level=info gha update -latest . (#412)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-05-06 10:11:06 -04:00
hashicorp-tsccr[bot]
0051b26884
Result of tsccr-helper -log-level=info gha update -latest . (#398)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Bennett <ben.bennett@hashicorp.com>
2024-02-19 07:19:42 +00:00
hashicorp-tsccr[bot]
725b9fbf91
Result of tsccr-helper -log-level=info gha update -latest . (#388)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-01-15 07:35:35 +00:00
hashicorp-tsccr[bot]
fc6630a3dc
Result of tsccr-helper -log-level=info -pin-all-workflows . (#381)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-12-04 07:38:53 +00:00
Brian Flad
1f997cc1ff
.github: Update workflows to use actions variables (#378)
Reference: https://github.com/hashicorp/terraform-devex-repos/issues/17
Reference: https://github.com/hashicorp/terraform-devex-repos/issues/35
2023-11-29 14:14:28 -05:00
Brian Flad
b4be958214
.github: Add CI for changie (#376)
Reference: https://github.com/hashicorp/terraform-providers-devex-internal/issues/171
2023-11-27 12:39:31 -05:00
hashicorp-tsccr[bot]
cfd668c07b
Result of tsccr-helper -log-level=info -pin-all-workflows . (#369)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-10-30 07:35:58 +00:00
Oliver Ford
4dff81de7e
Fix output malformed when wrapper enabled (#367)
* Fix output malformed when wrapper enabled

Presently using a command such as `terraform output -json | jq` does not
work with the wrapper enabled, as it is by default.

In order to consume terraform's output having set it up with this
Action, it is necessary either to disable the wrapper (`with:
terraform_wrapper: false`) or run it in its own Actions step with an
explicit `id` (e.g. `id: foo`) so that it can be referred to and consumed
(`${{steps.foo.outputs.stdout}}` et al.) in later steps.

This seems to be the result of much confusion (issues passim) and is not
at all easy (#338) to debug/diagnose and come to the realisation that
it's due to the wrapper, or even that such a thing exists.

@austinvalle identified the issue as being due to the `@actions/exec`
package writing the spawned command to stdout (along with then its
actual stdout). This has previously been reported upstream in
actions/toolkit#649; I've proposed actions/toolkit#1573 to fix it.

This commit aims to address the issue for `setup-terraform` in the
meantime by silencing `@actions/exec` and then writing out to stdout &
stderr from the listener buffers, which it writes to without this
additional logging.

Closes #20, #80, #85, #149, #338, and probably more.

* add test for stdout with jq

* update test name

* remove debug lines and add changelog

* add additional note about the bug fix to wrapper

---------

Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-10-27 14:05:58 -04:00
Rui Chen
9507e1d5bb
feat: bump to use node20 runtime (#346)
* feat: bump to use node20 runtime

Signed-off-by: Rui Chen <rui@chenrui.dev>

fix action refs for `actions/reusable-workflows`

Signed-off-by: Rui Chen <rui@chenrui.dev>

* docs: update changelog

Signed-off-by: Rui Chen <rui@chenrui.dev>

* workflows: update `actions/reusable-workflows` to use node20

Signed-off-by: Rui Chen <rui@chenrui.dev>

* chore: update dist file

* clean up PR for merge

* add node version

* update dist

* switch changelog

---------

Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-10-27 08:55:58 -04:00
Rishav Dhar
bf6ea8ac71
Remove redundant shell definition (#358)
* remove redundant shell definition

* Revert formatting changes

* redefine shell where default is declared
2023-10-17 14:36:26 -04:00
hashicorp-tsccr[bot]
e192cfcbae
Result of tsccr-helper -log-level=info -pin-all-workflows . (#353)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-10-02 17:19:43 +01:00
hashicorp-tsccr[bot]
2804f806e0
Result of tsccr-helper -log-level=info -pin-all-workflows . (#351)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-09-18 07:38:39 +01:00
hashicorp-tsccr[bot]
efd0b45bf6
Result of tsccr-helper -log-level=info -pin-all-workflows . (#345)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-09-04 07:29:46 +01:00
dependabot[bot]
93a916da3d
Bump actions/setup-node from 3.6.0 to 3.7.0 (#332)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](64ed1c7eab...e33196f742)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 06:23:37 +01:00
dependabot[bot]
55aa98b46e
Bump actions/checkout from 3.5.2 to 3.5.3 (#329)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8e5e7e5ab8...c85c95e3d7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 15:22:31 -04:00
Austin Valle
5aa9444145
[COMPLIANCE] Add copyright and license headers (#327)
* add copywrite changes

* extra slash

* [COMPLIANCE] Add copyright and license headers

* removed incorrect license

* reverted /dist

* add action.yml to copywrite ignore

* revert

* remove dist changes

* revert dist
2023-06-05 11:20:41 -04:00
hashicorp-tsccr[bot]
0db19997f8
Result of tsccr-helper -pin-all-workflows . (#319)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-04-27 08:40:50 -04:00
Austin Valle
6b752b326b
Update release workflow to work with new branch protections (#313)
* Update release workflow to work with new branch protections

* removed issue permission
2023-03-02 16:59:59 -05:00
Brian Flad
aa7ea2f4b9
.github/workflows: Add GitHub Release title to workflow (#312)
Reference: https://github.com/hashicorp/ghaction-terraform-provider-release/issues/44

```console
$ gh release create --help
Create a new GitHub Release for a repository.

A list of asset files may be given to upload to the new release. To define a
display label for an asset, append text starting with `#` after the file name.

If a matching git tag does not yet exist, one will automatically get created
from the latest state of the default branch.
Use `--target` to point to a different branch or commit for the automatic tag creation.
Use `--verify-tag` to abort the release if the tag doesn't already exist.
To fetch the new tag locally after the release, do `git fetch --tags origin`.

To create a release from an annotated git tag, first create one locally with
git, push the tag to GitHub, then run this command.

When using automatically generated release notes, a release title will also be automatically
generated unless a title was explicitly passed. Additional release notes can be prepended to
automatically generated notes by using the notes parameter.

USAGE
  gh release create [<tag>] [<files>...]

FLAGS
      --discussion-category string   Start a discussion in the specified category
  -d, --draft                        Save the release as a draft instead of publishing it
      --generate-notes               Automatically generate title and notes for the release
      --latest                       Mark this release as "Latest" (default: automatic based on date and version)
  -n, --notes string                 Release notes
  -F, --notes-file file              Read release notes from file (use "-" to read from standard input)
      --notes-start-tag string       Tag to use as the starting point for generating release notes
  -p, --prerelease                   Mark the release as a prerelease
      --target branch                Target branch or full commit SHA (default: main branch)
  -t, --title string                 Release title
      --verify-tag                   Abort in case the git tag doesn't already exist in the remote repository
```
2023-02-28 14:25:15 -05:00