diff --git a/.github/workflows/workflow-generate-metaschema-resources.yml b/.github/workflows/workflow-generate-metaschema-resources.yml index ab766adeb0..1d84484bc8 100644 --- a/.github/workflows/workflow-generate-metaschema-resources.yml +++ b/.github/workflows/workflow-generate-metaschema-resources.yml @@ -53,7 +53,7 @@ jobs: id: checkout_latest_workflow # use this for builds triggered from other workflows on protected branches - name: Checkout Latest (using access_token) - if: github.event_name == 'push' && inputs.commit_resources == 'true' + if: github.event_name == 'push' && inputs.commit_resources == true uses: actions/checkout@v3 with: path: ${{ env.CHECKOUT_PATH }} @@ -131,7 +131,7 @@ jobs: # --------------- - name: Publish Schemas and Converters # only do this on master - if: github.event.inputs.commit_resources == 'true' || inputs.commit_resources == 'true' + if: github.event.inputs.commit_resources == 'true' || inputs.commit_resources == true uses: stefanzweifel/git-auto-commit-action@v4.9.2 with: repository: ${{ env.CHECKOUT_PATH }} diff --git a/.github/workflows/workflow-generate-website-reference.yml b/.github/workflows/workflow-generate-website-reference.yml index 8de660c561..27f61c238d 100644 --- a/.github/workflows/workflow-generate-website-reference.yml +++ b/.github/workflows/workflow-generate-website-reference.yml @@ -91,7 +91,7 @@ jobs: id: checkout_main_workflow # use this for builds triggered from other workflows on protected branches - name: Checkout Main (using access_token) - if: github.event_name == 'push' && inputs.commit_resources == 'true' + if: github.event_name == 'push' && inputs.commit_resources == true uses: actions/checkout@v3 with: path: ${{ env.MAIN_PATH }} @@ -167,7 +167,7 @@ jobs: retention-days: 5 - name: Publish Generated Pages # only do this on master - if: github.event.inputs.commit_resources == 'true' || inputs.commit_resources == 'true' + if: github.event.inputs.commit_resources == 'true' || inputs.commit_resources == true uses: stefanzweifel/git-auto-commit-action@v4.9.2 with: repository: ${{ env.MAIN_PATH }} diff --git a/.github/workflows/workflow-generate-website.yml b/.github/workflows/workflow-generate-website.yml index 26860c8173..15226911b1 100644 --- a/.github/workflows/workflow-generate-website.yml +++ b/.github/workflows/workflow-generate-website.yml @@ -83,7 +83,7 @@ jobs: id: checkout_latest_workflow # use this for builds triggered from other workflows on protected branches - name: Checkout Latest (using access_token) - if: github.event_name == 'push' && inputs.commit_resources == 'true' + if: github.event_name == 'push' && inputs.commit_resources == true uses: actions/checkout@v3 with: token: ${{ secrets.access_token }} @@ -163,13 +163,13 @@ jobs: script: | core.setFailed('Link checker detected broken or invalid links, read attached report.') - uses: actions/github-script@v3 # current: f05a81df23035049204b043b50c3322045ce7eb3 - if: steps.linkchecker.outputs.exit_code != 0 && (github.event.inputs.bad_links_fail_build == 'true' || inputs.bad_links_fail_build == 'true') + if: steps.linkchecker.outputs.exit_code != 0 && (github.event.inputs.bad_links_fail_build == 'true' || inputs.bad_links_fail_build == true) with: script: | core.setFailed('Link checker detected broken or invalid links, read attached report.') - name: Deploy Website (using access_token) uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305 # current: v3 - if: github.event_name == 'push' && inputs.commit_resources == 'true' && github.ref_name == 'main' + if: github.event_name == 'push' && inputs.commit_resources == true && github.ref_name == 'main' with: github_token: ${{ secrets.access_token }} enable_jekyll: false