Skip to content

Commit e1797bf

Browse files
authored
Update GitHub Actions workflows. (#467)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 52918857446d71c94c16a732341e483a2b2b9f6e.
1 parent d0980ac commit e1797bf

File tree

6 files changed

+3
-110
lines changed

6 files changed

+3
-110
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
continue-on-error: true
5757
run: make upstream
5858
- name: golangci-lint
59-
uses: golangci/golangci-lint-action@v4
59+
uses: golangci/golangci-lint-action@v6
6060
with:
6161
version: v1.58.0
6262
working-directory: provider

.github/workflows/master.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -258,33 +258,6 @@ jobs:
258258
259259
Maintainer note: consult the [runbook](https://github.com/pulumi/platform-providers-team/blob/main/playbooks/tf-provider-updating.md) for dealing with any breaking changes.
260260
261-
- if: github.event_name == 'pull_request'
262-
name: Check Configuration section
263-
run: |
264-
sed -n '/## Configuration/,$p' README.md | sed -n '/## Reference/q;p' >> config_section.txt
265-
jq -r '.config | select(.variables) | .variables | keys[]' < provider/cmd/pulumi-resource-${{ env.PROVIDER }}/schema.json >> keys.txt
266-
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
267-
{
268-
echo "MISSING_CONFIG<<$EOF";
269-
xargs -I {} sh -c "grep -q {} config_section.txt || echo \\\`{}\\\` not found in Configuration section" < keys.txt
270-
echo "$EOF";
271-
} >> "$GITHUB_ENV"
272-
273-
- if: github.event_name == 'pull_request' && github.actor != 'dependabot[bot]'
274-
name: Comment on PR with Details of Configuration check
275-
uses: thollander/actions-comment-pull-request@v2
276-
with:
277-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
278-
comment_tag: configurationCheck
279-
message: >+
280-
### Is README.md missing any configuration options?
281-
282-
${{ env.MISSING_CONFIG || 'No missing config!' }}
283-
284-
285-
${{ env.MISSING_CONFIG && 'Please add a description for each of these options to `README.md`.' }}
286-
${{ env.MISSING_CONFIG && 'Details about them can be found in either the upstream docs or `schema.json`.' }}
287-
288261
- name: Tar provider binaries
289262
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
290263
github.workspace }}/bin/ pulumi-resource-${{ env.PROVIDER }}

.github/workflows/prerelease.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -205,33 +205,6 @@ jobs:
205205
206206
Maintainer note: consult the [runbook](https://github.com/pulumi/platform-providers-team/blob/main/playbooks/tf-provider-updating.md) for dealing with any breaking changes.
207207
208-
- if: github.event_name == 'pull_request'
209-
name: Check Configuration section
210-
run: |
211-
sed -n '/## Configuration/,$p' README.md | sed -n '/## Reference/q;p' >> config_section.txt
212-
jq -r '.config | select(.variables) | .variables | keys[]' < provider/cmd/pulumi-resource-${{ env.PROVIDER }}/schema.json >> keys.txt
213-
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
214-
{
215-
echo "MISSING_CONFIG<<$EOF";
216-
xargs -I {} sh -c "grep -q {} config_section.txt || echo \\\`{}\\\` not found in Configuration section" < keys.txt
217-
echo "$EOF";
218-
} >> "$GITHUB_ENV"
219-
220-
- if: github.event_name == 'pull_request' && github.actor != 'dependabot[bot]'
221-
name: Comment on PR with Details of Configuration check
222-
uses: thollander/actions-comment-pull-request@v2
223-
with:
224-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
225-
comment_tag: configurationCheck
226-
message: >+
227-
### Is README.md missing any configuration options?
228-
229-
${{ env.MISSING_CONFIG || 'No missing config!' }}
230-
231-
232-
${{ env.MISSING_CONFIG && 'Please add a description for each of these options to `README.md`.' }}
233-
${{ env.MISSING_CONFIG && 'Details about them can be found in either the upstream docs or `schema.json`.' }}
234-
235208
- name: Tar provider binaries
236209
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
237210
github.workspace }}/bin/ pulumi-resource-${{ env.PROVIDER }}

.github/workflows/release.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -219,33 +219,6 @@ jobs:
219219
220220
Maintainer note: consult the [runbook](https://github.com/pulumi/platform-providers-team/blob/main/playbooks/tf-provider-updating.md) for dealing with any breaking changes.
221221
222-
- if: github.event_name == 'pull_request'
223-
name: Check Configuration section
224-
run: |
225-
sed -n '/## Configuration/,$p' README.md | sed -n '/## Reference/q;p' >> config_section.txt
226-
jq -r '.config | select(.variables) | .variables | keys[]' < provider/cmd/pulumi-resource-${{ env.PROVIDER }}/schema.json >> keys.txt
227-
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
228-
{
229-
echo "MISSING_CONFIG<<$EOF";
230-
xargs -I {} sh -c "grep -q {} config_section.txt || echo \\\`{}\\\` not found in Configuration section" < keys.txt
231-
echo "$EOF";
232-
} >> "$GITHUB_ENV"
233-
234-
- if: github.event_name == 'pull_request' && github.actor != 'dependabot[bot]'
235-
name: Comment on PR with Details of Configuration check
236-
uses: thollander/actions-comment-pull-request@v2
237-
with:
238-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
239-
comment_tag: configurationCheck
240-
message: >+
241-
### Is README.md missing any configuration options?
242-
243-
${{ env.MISSING_CONFIG || 'No missing config!' }}
244-
245-
246-
${{ env.MISSING_CONFIG && 'Please add a description for each of these options to `README.md`.' }}
247-
${{ env.MISSING_CONFIG && 'Details about them can be found in either the upstream docs or `schema.json`.' }}
248-
249222
- name: Tar provider binaries
250223
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
251224
github.workspace }}/bin/ pulumi-resource-${{ env.PROVIDER }}

.github/workflows/run-acceptance-tests.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -229,33 +229,6 @@ jobs:
229229
230230
Maintainer note: consult the [runbook](https://github.com/pulumi/platform-providers-team/blob/main/playbooks/tf-provider-updating.md) for dealing with any breaking changes.
231231
232-
- if: github.event_name == 'pull_request'
233-
name: Check Configuration section
234-
run: |
235-
sed -n '/## Configuration/,$p' README.md | sed -n '/## Reference/q;p' >> config_section.txt
236-
jq -r '.config | select(.variables) | .variables | keys[]' < provider/cmd/pulumi-resource-${{ env.PROVIDER }}/schema.json >> keys.txt
237-
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
238-
{
239-
echo "MISSING_CONFIG<<$EOF";
240-
xargs -I {} sh -c "grep -q {} config_section.txt || echo \\\`{}\\\` not found in Configuration section" < keys.txt
241-
echo "$EOF";
242-
} >> "$GITHUB_ENV"
243-
244-
- if: github.event_name == 'pull_request' && github.actor != 'dependabot[bot]'
245-
name: Comment on PR with Details of Configuration check
246-
uses: thollander/actions-comment-pull-request@v2
247-
with:
248-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
249-
comment_tag: configurationCheck
250-
message: >+
251-
### Is README.md missing any configuration options?
252-
253-
${{ env.MISSING_CONFIG || 'No missing config!' }}
254-
255-
256-
${{ env.MISSING_CONFIG && 'Please add a description for each of these options to `README.md`.' }}
257-
${{ env.MISSING_CONFIG && 'Details about them can be found in either the upstream docs or `schema.json`.' }}
258-
259232
- name: Tar provider binaries
260233
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
261234
github.workspace }}/bin/ pulumi-resource-${{ env.PROVIDER }}

devbox.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"nodejs@20.",
77
"python3@3.11.8",
88
"dotnet-sdk@6.0.",
9-
"gradle_7@7.6"
9+
"gradle_7@7.6",
10+
"curl@8"
1011
],
1112
"shell": {
1213
"init_hook": [

0 commit comments

Comments
 (0)