File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change 9
9
concurrency : ${{ github.workflow }}
10
10
11
11
jobs :
12
- get_pull_request :
12
+ publish :
13
13
# os-botify[bot] will update the version on `main`, so this check is important to prevent an infinite loop
14
14
if : ${{ github.actor != 'os-botify[bot]' }}
15
- runs-on : ubuntu-latest
16
- outputs :
17
- pull_request_number : ${{ steps.getMergedPullRequest.outputs.number }}
18
- steps :
19
- - uses : actions/checkout@v3
20
- with :
21
- ref : main
22
-
23
- - name : Get merged pull request
24
- id : getMergedPullRequest
25
- uses : actions-ecosystem/action-get-merged-pull-request@59afe90821bb0b555082ce8ff1e36b03f91553d9
26
- with :
27
- github_token : ${{ github.token }}
28
-
29
- publish :
30
- needs : get_pull_request
31
15
uses : Expensify/GitHub-Actions/.github/workflows/npmPublish.yml@main
32
16
secrets : inherit
33
- with :
34
- repository : ${{ github.repository }}
35
- # 'outputs' provides a string, and we need a number, so we use fromJSON to convert it
36
- pull_request_number : ${{ fromJSON(needs.get_pull_request.outputs.pull_request_number) }}
You can’t perform that action at this time.
0 commit comments