Astro.request.headers access when configure allowedDomains for prerendered pages #294
This file contains hidden or 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: "Issue: Close Cleanup" | |
| on: | |
| issues: | |
| types: [closed] | |
| jobs: | |
| cleanup-branch: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Delete triage fix branch | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| BRANCH="flue/fix-${{ github.event.issue.number }}" | |
| # Delete the branch if it exists; ignore errors if it doesn't | |
| gh api "repos/${{ github.repository }}/git/refs/heads/${BRANCH}" \ | |
| -X DELETE 2>/dev/null && echo "Deleted branch ${BRANCH}" || echo "No branch ${BRANCH} to clean up" |