File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: 🚧 Templates Version Check
44
55on :
66 pull_request :
7- branches : [ main ]
7+ branches : [ main, next ]
88
99concurrency :
1010 group : pr-builder-${{ github.ref }}
Original file line number Diff line number Diff line change 1+ # This workflow will run when a PR is merged and save the PR information for later use.
2+
3+ name : 💡 PR Merged
4+
5+ on :
6+ pull_request :
7+ types : [closed]
8+ branches : [master, main]
9+
10+ jobs :
11+ save-pr-information :
12+ runs-on : ubuntu-latest
13+ if : github.event.pull_request.merged == true
14+ steps :
15+ - name : ⬇️ Checkout
16+ uses : actions/checkout@v3
17+
18+ - name : ℹ️ Display PR Information
19+ run : echo "PR Number \#${{github.event.number}}"
20+
21+ - name : 💾 Save PR Number for Later Use
22+ run : echo "${{github.event.number}}" > PR_NUMBER
23+
24+ - name : 📦 Upload PR Number as Artifact
25+ uses : actions/upload-artifact@v4
26+ with :
27+ name : pr-number
28+ path : PR_NUMBER
You can’t perform that action at this time.
0 commit comments