chore: Fix issues detected by GitHub actions linter (#3139)
This commit is contained in:
1 parent
c675dc07ec
commit
29c268d5ac
4 files changed
+11
-11
No files matched your search
@@ -98,9 +98,9 @@ jobs:
|
||||
id: generate-metadata-file
|
||||
uses: hashicorp/actions-generate-metadata@v1 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references: authorization failed
|
||||
with:
|
||||
repository: boundary
|
||||
version: ${{ needs.set-product-version.outputs.product-version }}
|
||||
product: ${{ env.PKG_NAME }}
|
||||
|
||||
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
|
||||
with:
|
||||
name: metadata.json
|
||||
@@ -391,7 +391,7 @@ jobs:
|
||||
# Github Actions secrets, it only makes sense to run this workflow when those
|
||||
# secrets are available. Any pull requests from forks will not trigger the
|
||||
# workflow.
|
||||
if: "! github.event.pull_request.head.repo.fork"
|
||||
if: github.event.pull_request.head.repo.fork != 'true'
|
||||
needs:
|
||||
- set-product-version
|
||||
- product-metadata
|
||||
@@ -406,7 +406,7 @@ jobs:
|
||||
secrets: inherit
|
||||
bats:
|
||||
uses: ./.github/workflows/test-cli-ui.yml
|
||||
if: "! github.event.pull_request.head.repo.fork"
|
||||
if: github.event.pull_request.head.repo.fork != 'true'
|
||||
needs:
|
||||
- set-product-version
|
||||
- build-linux
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
fmt_check:
|
||||
# Only run this workflow on pull requests from hashicorp/boundary branches
|
||||
# as we need secrets to install enos.
|
||||
if: "! github.event.pull_request.head.repo.fork"
|
||||
if: github.event.pull_request.head.repo.fork != 'true'
|
||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.SERVICE_USER_GITHUB_TOKEN }}
|
||||
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
# checks that a milestone entry is present for a PR
|
||||
milestone-check:
|
||||
# If there is a `pr/no-milestone` label we ignore this check
|
||||
if: "!contains(github.event.pull_request.labels.*.name, 'pr/no-milestone')"
|
||||
if: contains(github.event.pull_request.labels.*.name, 'pr/no-milestone') != 'true'
|
||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||
steps:
|
||||
- name: Checkout Actions
|
||||
|
||||
@@ -34,11 +34,11 @@ jobs:
|
||||
container:
|
||||
image: rebuy/aws-nuke
|
||||
options:
|
||||
--user root
|
||||
-t
|
||||
--user root
|
||||
-t
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY }}
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
TIME_LIMIT: "48h"
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
@@ -73,8 +73,8 @@ jobs:
|
||||
container:
|
||||
image: jantman/awslimitchecker
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID_CI }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY_CI }}
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_CI }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_CI }}
|
||||
strategy:
|
||||
matrix:
|
||||
region: ${{ fromJSON(needs.setup.outputs.regions) }}
|
||||
|
||||
Reference in new issue
Block a user