Closed yeikel closed 5 months ago
maven: uses: org/.github/workflows/maven.yml@main secrets: USERNAME: ${{ secrets.USERNAME }} PASSWORD: ${{ secrets.USERNAME }}
maven: uses: org/.github/workflows/maven.yml@main + secrets: inherit - secrets: - USERNAME: ${{ secrets.USERNAME }} - PASSWORD: ${{ secrets.USERNAME }}
This should be left untouched because the secrets are transformed :
maven: uses: org/.github/workflows/maven.yml@main secrets: MY_CUSTOM_USERNAME_KEY: ${{ secrets.USERNAME }} PASSWORD: ${{ secrets.USERNAME }}
https://github.blog/changelog/2022-05-03-github-actions-simplify-using-secrets-with-reusable-workflows/ https://stackoverflow.com/questions/71524542/how-to-use-reusable-github-workflows-and-keep-secrets-in-a-single-place
What precondition(s) should be checked before applying this recipe?
Describe the situation before applying the recipe
Describe the situation after applying the recipe
This should be left untouched because the secrets are transformed :
Any additional context
https://github.blog/changelog/2022-05-03-github-actions-simplify-using-secrets-with-reusable-workflows/ https://stackoverflow.com/questions/71524542/how-to-use-reusable-github-workflows-and-keep-secrets-in-a-single-place