Skip to content

Commit a811a28

Browse files
Refactor Github Action per b/485167538
1 parent 42689ac commit a811a28

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/generate-updates.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ jobs:
2929
run: "gem install --no-document toys"
3030
- name: execute
3131
run: |
32-
toys generate-updates -v --fork --use-dam ${{ github.event.inputs.args }}
32+
toys generate-updates -v --fork --use-dam ${GITHUB_EVENT_INPUTS_ARGS}
33+
env:
34+
GITHUB_EVENT_INPUTS_ARGS: ${{ github.event.inputs.args }}

.github/workflows/presubmit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ jobs:
3535
runs-on: ubuntu-20.04
3636
steps:
3737
- name: Required checks collector
38-
run: 'test "${{ needs.tests.result }}" = "success"'
38+
run: 'test "${NEEDS_TESTS_RESULT}" = "success"'
39+
env:
40+
NEEDS_TESTS_RESULT: ${{ needs.tests.result }}

0 commit comments

Comments
 (0)