Fixes issue #3479 where S3ForcePathStyle is unable to be read from a config file #886
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR workflow | |
on: | |
pull_request: | |
types: [synchronize, opened, reopened, edited] | |
jobs: | |
check-is-destination-branch-protected: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/github-script@v7.0.1 | |
# "base_ref" is the target branch of the pull request (https://docs.github.com/en/actions/learn-github-actions/contexts#github-context) | |
if: ${{ github.base_ref == 'main' }} | |
with: | |
script: | | |
core.setFailed('PRs must target either main-staging or a feature branch') |