-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gh-actions: Bump internal versions (#1192)
Signed-off-by: Ryan Northey <[email protected]>
- Loading branch information
Showing
21 changed files
with
88 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ runs: | |
chmod +x $TMPFILE | ||
echo "path=$TMPFILE" >> $GITHUB_OUTPUT | ||
shell: bash | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
id: command | ||
with: | ||
input: ${{ inputs.input }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,20 +22,20 @@ outputs: | |
runs: | ||
using: "composite" | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
if: ${{ inputs.lock-app-id && inputs.lock-app-key }} | ||
name: Fetch app auth | ||
id: appauth | ||
with: | ||
app_id: ${{ inputs.lock-app-id }} | ||
key: ${{ inputs.lock-app-key }} | ||
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].82 | ||
if: ${{ steps.appauth.outputs.token || inputs.lock-token }} | ||
with: | ||
key: ${{ inputs.lock-id || inputs.image_tag }} | ||
repository: ${{ inputs.lock-repository }} | ||
token: ${{ steps.appauth.outputs.token || inputs.lock-token }} | ||
- uses: envoyproxy/toolshed/gh-actions/cache/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/cache/[email protected].82 | ||
id: prime | ||
with: | ||
key: "${{ inputs.image_tag }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ inputs: | |
runs: | ||
using: "composite" | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/cache/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/cache/[email protected].82 | ||
with: | ||
key: ${{ inputs.image_tag }} | ||
command: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ inputs: | |
runs: | ||
using: "composite" | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
id: fetch | ||
with: | ||
url: ${{ inputs.url }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,18 +12,18 @@ outputs: | |
runs: | ||
using: composite | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
id: yaml | ||
with: | ||
input: ${{ inputs.images }} | ||
input-format: yaml | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
id: json_actions | ||
with: | ||
input: ${{ steps.yaml.outputs.json }} | ||
filter: | | ||
{runs: {using: "composite", steps: [to_entries[] | { | ||
uses: "envoyproxy/toolshed/gh-actions/docker/[email protected].81", | ||
uses: "envoyproxy/toolshed/gh-actions/docker/[email protected].82", | ||
id: .key, | ||
with: { | ||
image: .value, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,15 +62,15 @@ runs: | |
steps: | ||
## WARNING: INCOMING USER DATA IS A REQUEST ATTACK VECTOR AND SHOULD BE HANDLED ACCORDINGLY | ||
|
||
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].82 | ||
name: Github context | ||
if: ${{ fromJSON(env.CI_DEBUG || 'false') && true || false }} | ||
|
||
# Pull request/targets are _never_ trusted. | ||
# | ||
# Only specified bots are trusted. | ||
- id: trusted | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
with: | ||
input: | | ||
${{ inputs.trusted-bots || 'NOBOTS' }} | ||
|
@@ -87,7 +87,7 @@ runs: | |
| {trusted: ($trusted and ${{ ! startswith(github.event_name, 'pull_request') }})} | ||
# Check current/requested config (currently only build-images can be overridden) | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
id: config-current-text | ||
with: | ||
title: fetch ${{ inputs.branch-name }}:${{ inputs.config-file }} | ||
|
@@ -96,15 +96,15 @@ runs: | |
| "origin" as $remote | ||
| "${{ inputs.branch-name }}" as $ref | ||
| ("${{ inputs.template-script-ref-file }}" | bash::output) | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
name: Current config | ||
id: config | ||
with: | ||
print-result: ${{ fromJSON(env.CI_DEBUG || 'false') && true || false }} | ||
input-format: yaml | ||
input: ${{ steps.config-current-text.outputs.output }} | ||
- id: build-images | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
with: | ||
input: ${{ steps.config.outputs.value }} | ||
filter: | | ||
|
@@ -115,7 +115,7 @@ runs: | |
| {default: "\($repo):\($tag)@sha256:\($sha)", | ||
mobile: "\($repo)::mobile-\($tag)@sha256:\($mobileSha)"} | ||
- id: requested-build-images | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
with: | ||
input-format: yaml-path | ||
input: ${{ inputs.config-file }} | ||
|
@@ -129,7 +129,7 @@ runs: | |
"build-image-mobile": "\($repo):mobile-\($tag)@sha256:\($mobileSha)"} | ||
# Check requested changes | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
id: diff | ||
with: | ||
title: git diff changes from ${{ inputs.merge-commit || 'HEAD^1' }} | ||
|
@@ -138,7 +138,7 @@ runs: | |
| "origin" as $remote | ||
| "${{ inputs.branch-name }}" as $ref | ||
| ("${{ inputs.template-script-diff }}" | bash::output) | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
id: changed | ||
with: | ||
input: ${{ steps.diff.outputs.output }} | ||
|
@@ -148,7 +148,7 @@ runs: | |
| split("\n") | ||
# Check current/request versions | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
name: Validate given version string | ||
id: version-string | ||
with: | ||
|
@@ -158,7 +158,7 @@ runs: | |
filter: | | ||
validate::version | ||
- id: version | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
with: | ||
input: ${{ steps.changed.outputs.value || '[]' }} | ||
filter: | | ||
|
@@ -171,7 +171,7 @@ runs: | |
patch: (.[2] | rtrimstr("-dev") | fromjson), | ||
"dev": $isdev, | ||
"changed": $changed} | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
id: version-current-string | ||
with: | ||
title: fetch ${{ inputs.branch-name }}:${{ inputs.version-file }} | ||
|
@@ -181,7 +181,7 @@ runs: | |
| "origin" as $remote | ||
| ("${{ inputs.template-script-ref-file }}" | bash::output) | ||
- id: version-current | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
with: | ||
options: -Rsc | ||
filter: | | ||
|
@@ -194,7 +194,7 @@ runs: | |
"dev": $isdev} | ||
- id: request | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
with: | ||
input: ${{ toJSON(github) }} | ||
filter: | | ||
|
@@ -224,19 +224,19 @@ runs: | |
- name: Run config | ||
id: run-config | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
with: | ||
input-format: yaml | ||
input: ${{ toJSON(fromJSON(steps.config.outputs.value).run) }} | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
id: torun | ||
with: | ||
branch: ${{ inputs.branch-name }} | ||
event: ${{ github.event_name }} | ||
config: ${{ steps.run-config.outputs.value }} | ||
paths: ${{ startswith(github.event_name, 'pull_request') && steps.changed.outputs.value || '[]' }} | ||
|
||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
name: Create data | ||
id: data | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,12 +113,12 @@ inputs: | |
runs: | ||
using: composite | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
if: ${{ fromJSON(env.CI_DEBUG || 'false') && true || false }} | ||
with: | ||
input: ${{ inputs.context }} | ||
print-result: true | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
name: Runtime information | ||
id: run-info | ||
with: | ||
|
@@ -135,13 +135,13 @@ runs: | |
completed: .run.completed, | ||
"run-time": "\(.run.completed - .run.started)s", | ||
"job-time": "\(.run.completed - .context["job-started"])s"} | ||
- uses: envoyproxy/toolshed/gh-actions/json/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/json/[email protected].82 | ||
name: Run information summary | ||
id: run-summary | ||
with: | ||
json: ${{ steps.run-info.outputs.value }} | ||
title: Runtime information | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
with: | ||
input: ${{ inputs.context }} | ||
options: -r | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,21 +26,21 @@ outputs: | |
runs: | ||
using: composite | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
name: Context | ||
id: context | ||
with: | ||
input: ${{ inputs.context || '{}' }} | ||
filter: | | ||
${{ inputs.context-filter }} | ||
| . * {"items": ${{ inputs.items }}} | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
name: Steps (JSON) | ||
id: steps-json | ||
with: | ||
input: ${{ inputs.steps }} | ||
input-format: yaml | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
name: Steps | ||
id: steps-subs | ||
with: | ||
|
@@ -56,7 +56,7 @@ runs: | |
| map(.key as $k | $out | . + [($steps | walk(if type == "string" then sub("\\$KEY"; "\($k)") else . end))]) | ||
| flatten | ||
- uses: envoyproxy/toolshed/gh-actions/using/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/using/[email protected].82 | ||
id: steps | ||
with: | ||
name: ${{ inputs.name }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ runs: | |
using: composite | ||
steps: | ||
# If the original check is already completed, we have been retested and we need to find the real one | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
name: Find check | ||
if: ${{ fromJSON(inputs.data).status == 'completed' && github.run_attempt > 1 }} | ||
id: current-checks | ||
|
@@ -50,7 +50,7 @@ runs: | |
env: | ||
GH_TOKEN: ${{ inputs.token }} | ||
- name: Progress status check | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
with: | ||
input: ${{ inputs.data }} | ||
filter: | | ||
|
@@ -70,7 +70,7 @@ runs: | |
| "${{ inputs.template-script-update }}" | ||
env: | ||
GH_TOKEN: ${{ inputs.token }} | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
name: Print check response | ||
id: checks | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ outputs: | |
runs: | ||
using: composite | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/github/[email protected].82 | ||
id: merge-commit | ||
name: Fetch merge commit hash | ||
if: ${{ inputs.pr && fromJSON(inputs.fetch-merge-commit) }} | ||
|
@@ -58,7 +58,7 @@ runs: | |
# depth of the checked ancestor. | ||
- name: Parse YAML config | ||
id: parsed-config | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
with: | ||
input: ${{ inputs.config || '{}' }} | ||
input-format: yaml | ||
|
@@ -99,7 +99,7 @@ runs: | |
- name: Config | ||
id: config-token | ||
if: ${{ inputs.ssh-key == '' }} | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
with: | ||
input: ${{ inputs.token || github.token }} | ||
options: -R | ||
|
@@ -112,7 +112,7 @@ runs: | |
| del(.branch, .["requested-ref"]) | ||
- name: Config | ||
id: config-ssh | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
if: ${{ inputs.ssh-key != '' }} | ||
with: | ||
input: ${{ inputs.ssh-key }} | ||
|
@@ -148,7 +148,7 @@ runs: | |
COMMITTER_EMAIL: ${{ inputs.committer-email }} | ||
shell: bash | ||
- id: branch | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
with: | ||
input: ${{ fromJSON(steps.parsed-config.outputs.value).branch }} | ||
input-format: text | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ outputs: | |
runs: | ||
using: composite | ||
steps: | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].81 | ||
- uses: envoyproxy/toolshed/gh-actions/[email protected].82 | ||
name: Parse command from text | ||
id: command | ||
with: | ||
|
Oops, something went wrong.