Skip to content

Commit

Permalink
docs: simplify pinned tags for legibility (#203)
Browse files Browse the repository at this point in the history
* docs: simplify pinned tags for legibility

Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>

* ci: wording

Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>

---------

Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>
  • Loading branch information
RDhar committed Apr 23, 2024
1 parent 4c4eac1 commit 6e6a337
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/examples/tf_via_pr_comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@v4
with:
ref: ${{ github.event.issue && format('refs/pull/{0}/merge', github.event.issue.number) }}

- name: Setup TF
uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # v3.0.0
uses: hashicorp/setup-terraform@v3

- name: Provision TF
uses: devsectop/tf-via-pr-comments@7c7189683e615af6aa8cca70c58caab74f6002b0 # v 10.1.0
uses: devsectop/tf-via-pr-comments@v10
env:
TF_VAR_PLACEHOLDER: value
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/examples/tf_via_pr_comments_or_input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@v4
with:
ref: ${{ github.event.issue && format('refs/pull/{0}/merge', github.event.issue.number) }}

- name: Setup TF
uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # v3.0.0
uses: hashicorp/setup-terraform@v3

- name: Provision TF
uses: devsectop/tf-via-pr-comments@7c7189683e615af6aa8cca70c58caab74f6002b0 # v 10.1.0
uses: devsectop/tf-via-pr-comments@v10
env:
TF_VAR_PLACEHOLDER: value
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/examples/tf_via_pr_input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@v4

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: ${{ secrets.AWS_ROLE }}

- name: Setup TF
uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # v3.0.0
uses: hashicorp/setup-terraform@v3

- name: Provision TF
uses: devsectop/tf-via-pr-comments@7c7189683e615af6aa8cca70c58caab74f6002b0 # v 10.1.0
uses: devsectop/tf-via-pr-comments@v10
env:
TF_VAR_PLACEHOLDER: value
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/examples/tf_via_pr_input_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@v4

- name: Setup TF
uses: hashicorp/setup-terraform@a1502cd9e758c50496cc9ac5308c4843bcd56d36 # v3.0.0
uses: hashicorp/setup-terraform@v3

- name: Provision TF
id: tf
uses: devsectop/tf-via-pr-comments@7c7189683e615af6aa8cca70c58caab74f6002b0 # v 10.1.0
uses: devsectop/tf-via-pr-comments@v10
env:
TF_VAR_PLACEHOLDER: value
with:
Expand Down
2 changes: 1 addition & 1 deletion scripts/comment_tf_output.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = async ({ github, context, core }) => {

// Display truncated TF fmt diff, if present.
const comment_fmt = process.env.tf_fmt
? `<details><summary>Check format diff.</summary>
? `<details><summary>Format check diff.</summary>
\`\`\`diff
${process.env.tf_fmt}
Expand Down

0 comments on commit 6e6a337

Please sign in to comment.