We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.blog/changelog/2022-08-22-github-actions-improvements-to-reusable-workflows-2/
You can now nest up to 4 levels of reusable workflows giving you greater flexibility and better code reuse.
At least the following workflow should not cause an error.
on: workflow_call: inputs: message: description: additional message required: true type: string jobs: call-another-workflow: uses: ./.github/workflows/another-workflow.yaml with: hello: ${{ inputs.message }}
actionlint currently reports an error as follows:
test.yaml:11:11: reusable workflow cannot be nested. but this workflow hooks "workflow_call" event at line:2,col:3 [workflow-call] | 11 | uses: ./.github/workflows/another-workflow.yaml | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
4 levels of reusable
I don't think actionlint can check levels statically (e.g. recursive call using if:).
if:
Sorry, something went wrong.
8db3e64
This was fixed in v1.6.17.
No branches or pull requests
https://github.blog/changelog/2022-08-22-github-actions-improvements-to-reusable-workflows-2/
At least the following workflow should not cause an error.
actionlint currently reports an error as follows:
The text was updated successfully, but these errors were encountered: