Automated Pull Request From main to feature/test Branch #1357
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: "25 - Artifacts between workflows 1" | |
on: pull_request | |
jobs: | |
job1: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Save the PR number in an artifact | |
shell: bash | |
env: | |
PR_NUM: ${{ github.event.number }} | |
run: echo $PR_NUM > pr_num.txt | |
- name: Upload the PR number | |
uses: actions/[email protected] | |
with: | |
name: pr_num | |
path: ./pr_num.txt |