Skip to content

Commit

Permalink
Resolve actionlint env error
Browse files Browse the repository at this point in the history
Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
  • Loading branch information
vipulgupta2048 committed Jan 6, 2025
1 parent 3135493 commit 79ec3ed
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/flowzone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
name: Check links in pull request
runs-on: ubuntu-latest
needs: flowzone

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -54,16 +55,17 @@ jobs:
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-

- name: Set Deployment URL
run: echo "DEPLOYMENT_URL=${{ needs.flowzone.outputs.cloudflare_deployment_url || 'https://docs.balena.io' }}" >> $GITHUB_ENV

Check failure

Code scanning / octoscan

Write to "$GITHUB_ENV" in a bash script. Error

Write to "$GITHUB_ENV" in a bash script.

# Run link checker on the generated HTML
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@2b973e86fc7b1f6b36a93795fe2c9c6ae1118621 # for v1.10.0
env:
DEPLOYMENT_URL: ${{ needs.flowzone.outputs.cloudflare_deployment_url || 'https://docs.balena.io' }}
with:
args: >
-qq
--base ${{ env.DEPLOYMENT_URL }}
--base $DEPLOYMENT_URL
--config ./lychee.toml
"build/**/*" "tools/fetch-external.sh"
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 79ec3ed

Please sign in to comment.