[intersection-observer] deprecated된 intersection-observer 패키지를 제거합니다. #2035
Workflow file for this run
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: PR Closed | |
| on: | |
| pull_request: | |
| types: | |
| - closed | |
| env: | |
| GITHUB_API_URL_BASE: https://api.github.com/repos/${{ github.repository }} | |
| TAG_NAME: release-pr-${{ github.event.pull_request.number }} | |
| jobs: | |
| delete-release-tag: | |
| runs-on: ${{ vars.NOL_RUNNER }} | |
| steps: | |
| - name: Check tag ref exist | |
| id: check-tag-ref | |
| # https://docs.github.com/en/free-pro-team@latest/rest/reference/git#get-a-reference | |
| run: | | |
| curl --url $GITHUB_API_URL_BASE/git/refs/tags/$TAG_NAME \ | |
| -sI \ | |
| -o /dev/null \ | |
| -w "%{http_code}" \ | |
| -H 'Authorization: token ${{ secrets.TRIPLE_BOT_GITHUB_TOKEN }}' \ | |
| > status | |
| echo "::set-output name=status::$(cat status)" | |
| - name: Delete release tag of this pull request | |
| uses: dev-drprasad/[email protected] | |
| with: | |
| delete_release: true | |
| tag_name: ${{ env.TAG_NAME }} | |
| repo: ${{ github.repository }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |