Open hwhsu1231 opened 4 months ago
Describe the bug
I found that the outputs of dorny/paths-filter@v3 cannot be accessed with the following warning messages:
dorny/paths-filter@v3
Context access might be invalid: cmake
However, the outputs of tibdex/github-app-token@v2 can be accessed without the above warning messages.
tibdex/github-app-token@v2
See the screenshots of these two in Screenshots.
For the records, although the warning messages showed up, the outputs of dorny/paths-filter@v3 were printed correctly.
To Reproduce
Copy and paste the following two code snippets:
Expected behavior
The warning messages shouldn't show up.
Screenshots
Extension Version
v0.26.2
Additional context
Describe the bug
I found that the outputs of
dorny/paths-filter@v3
cannot be accessed with the following warning messages:However, the outputs of
tibdex/github-app-token@v2
can be accessed without the above warning messages.See the screenshots of these two in Screenshots.
For the records, although the warning messages showed up, the outputs of
dorny/paths-filter@v3
were printed correctly.To Reproduce
Copy and paste the following two code snippets:
Click to expand demo of 'paths-filter'
```yml - name: Filter Changes in the Pull Request id: filter uses: dorny/paths-filter@v3 with: list-files: 'json' filters: | cmake: - 'cmake/**/*.cmake' - 'CMakeLists.txt' - 'CMakePresets.json' document: - 'docs/ACKNOWLEDGEMENTS.md' - 'docs/CONTRIBUTING.md' - 'docs/MAINTAINING.md' - 'CODE_OF_CONDUCT.md' - 'README.md' workflow: - '.github/workflows/*.yml' - '.github/workflows/*.yaml' - name: Check Outputs of paths-filter run: | echo "steps.filter.outputs.cmake = ${{ steps.filter.outputs.cmake }}" echo "steps.filter.outputs.document = ${{ steps.filter.outputs.document }}" echo "steps.filter.outputs.workflow = ${{ steps.filter.outputs.workflow }}" echo "steps.filter.outputs.cmake_count = ${{ steps.filter.outputs.cmake_count }}" echo "steps.filter.outputs.document_count = ${{ steps.filter.outputs.document_count }}" echo "steps.filter.outputs.workflow_count = ${{ steps.filter.outputs.workflow_count }}" echo "steps.filter.outputs.cmake_files = ${{ steps.filter.outputs.cmake_files }}" echo "steps.filter.outputs.document_files = ${{ steps.filter.outputs.document_files }}" echo "steps.filter.outputs.workflow_files = ${{ steps.filter.outputs.workflow_files }}" ```Click to expand demo of 'github-app-token'
```yml - name: Get the GitHub App's Token uses: tibdex/github-app-token@v2 id: ggat with: app_id: ${{ secrets.APP_ID }} private_key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout to '${{ github.ref }}' uses: actions/checkout@v4 with: ref: ${{ github.ref }} token: ${{ steps.ggat.outputs.token }} submodules: true ```Expected behavior
The warning messages shouldn't show up.
Screenshots
Extension Version
v0.26.2
Additional context