refactor: Update script.go to improve TypeScript import handling and … #210
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: Receive PR | |
# read-only repo token | |
# no access to secrets | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Save PR number | |
run: | | |
mkdir -p ./pr | |
echo ${{ github.event.number }} > ./pr/NR | |
echo ${{ github.event.pull_request.head.sha }} > ./pr/SHA | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: pr | |
path: pr/ |