Skip to content

Commit

Permalink
update url storing method
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanLav committed Nov 14, 2023
1 parent 069f64c commit be0203a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/make-pull-request/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ runs:
reviewers: ${{ inputs.pr-reviewer }}
draft: false
base: ${{ inputs.pr-base }}

outputs:
pull-request-url: ${{ steps.create_pr.outputs.pull-request-url }}
- name: Write output to file
run: echo "${{ steps.create_pr.outputs.pull-request-url }}" > pr_url.txt
7 changes: 6 additions & 1 deletion .github/workflows/update-entrypoint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
create-pr-to-update:
runs-on: ubuntu-latest
outputs:
pr-url: ${{ steps.pr.outputs.pull-request-url }}
pr-url: ${{ steps.get_pr_url.outputs.pr-url }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -45,6 +45,11 @@ jobs:
pr-title: 🚀 Release notes for ${{ env.VERSION }}
pr-body: This PR was generated automatically 🤖
pr-base: master

- name: Get the pull request URL
id: get_pr_url
run: |
echo "::set-output name=pr-url::$(cat pr_url.txt)"
alert:
runs-on: ubuntu-latest
Expand Down

0 comments on commit be0203a

Please sign in to comment.