Skip to content

Commit 79969c5

Browse files
committed
fix: repair yaml indentation
1 parent 63b268b commit 79969c5

File tree

1 file changed

+34
-33
lines changed

1 file changed

+34
-33
lines changed

.github/workflows/iam-deny.yaml

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
1516
name: iam-deny
1617
on:
1718
push:
@@ -43,47 +44,47 @@ jobs:
4344
run:
4445
working-directory: 'iam/deny'
4546
steps:
46-
- uses: actions/[email protected]
47-
with:
48-
ref: ${{github.event.pull_request.head.sha}}
49-
- uses: 'google-github-actions/[email protected]'
50-
with:
51-
workload_identity_provider: 'projects/949737848314/locations/global/workloadIdentityPools/iam-deny-test-pool/providers/iam-deny-test-provider'
52-
service_account: '[email protected]'
53-
create_credentials_file: 'true'
54-
access_token_lifetime: 600s
55-
- uses: actions/[email protected]
56-
with:
47+
- uses: actions/[email protected]
48+
with:
49+
ref: ${{github.event.pull_request.head.sha}}
50+
- uses: 'google-github-actions/[email protected]'
51+
with:
52+
workload_identity_provider: 'projects/949737848314/locations/global/workloadIdentityPools/iam-deny-test-pool/providers/iam-deny-test-provider'
53+
service_account: '[email protected]'
54+
create_credentials_file: 'true'
55+
access_token_lifetime: 600s
56+
- uses: actions/[email protected]
57+
with:
5758
node-version: 16
58-
- name: Get npm cache directory
59-
id: npm-cache-dir
60-
shell: bash
61-
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
62-
- uses: actions/cache@v4
63-
id: npm-cache
64-
with:
59+
- name: Get npm cache directory
60+
id: npm-cache-dir
61+
shell: bash
62+
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
63+
- uses: actions/cache@v4
64+
id: npm-cache
65+
with:
6566
path: ${{ steps.npm-cache-dir.outputs.dir }}
6667
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
6768
restore-keys: "${{ runner.os }}-node- \n"
68-
- name: install repo dependencies
69-
run: npm install
70-
working-directory: .
71-
- name: install directory dependencies
72-
run: npm install
73-
- run: npm run build --if-present
74-
- name: set env vars for scheduled run
75-
if: github.event.action == 'schedule'
76-
run: |
69+
- name: install repo dependencies
70+
run: npm install
71+
working-directory: .
72+
- name: install directory dependencies
73+
run: npm install
74+
- run: npm run build --if-present
75+
- name: set env vars for scheduled run
76+
if: github.event.action == 'schedule'
77+
run: |
7778
echo "MOCHA_REPORTER_SUITENAME=iam-deny" >> $GITHUB_ENV
7879
echo "MOCHA_REPORTER_OUTPUT=${{github.run_id}}_sponge_log.xml" >> $GITHUB_ENV
7980
echo "MOCHA_REPORTER=xunit" >> $GITHUB_ENV
80-
- run: npm test
81-
- name: upload test results for FlakyBot workflow
82-
if: github.event.action == 'schedule' && always()
83-
uses: actions/upload-artifact@v3
84-
env:
81+
- run: npm test
82+
- name: upload test results for FlakyBot workflow
83+
if: github.event.action == 'schedule' && always()
84+
uses: actions/upload-artifact@v3
85+
env:
8586
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
86-
with:
87+
with:
8788
name: test-results
8889
path: iam/deny/${{ env.MOCHA_REPORTER_OUTPUT }}
8990
retention-days: 1

0 commit comments

Comments
 (0)