implement finally with exception groups #4
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: 'Named Branches' | |
on: push | |
permissions: | |
contents: write | |
jobs: | |
named-branches: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Fetch 100 commits maximum when setting named branches. | |
# We can play with this number, but setting this to 0 takes 2 full | |
# minutes to checkout the repo. | |
fetch-depth: 100 | |
- uses: Julian/named-branch-action@v1 | |
with: | |
github_token: '${{ secrets.GITHUB_TOKEN }}' |