File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : oasdiff PR comment
1+ name : API Breaking Change Check
22
33on :
44 pull_request :
5-
6- permissions :
7- contents : read
8- pull-requests : write
9- statuses : write
5+ paths :
6+ - ' simple.yaml'
107
118jobs :
129 pr-comment :
1310 runs-on : ubuntu-latest
11+ permissions :
12+ pull-requests : write
13+ statuses : write
1414 steps :
15- - name : Check out code
16- uses : actions/checkout@v4
15+ - uses : actions/checkout@v6
16+
17+ - run : git fetch --depth=1 origin ${{ github.base_ref }}
1718
18- - name : Post oasdiff PR comment
19- uses : oasdiff/oasdiff-action/pr-comment@v0.0.34
20- with :
21- base : https://raw.githubusercontent.com/${{ github.repository }}/${{ github.base_ref }}/simple.yaml
22- revision : simple.yaml
23- oasdiff-token : 0634345d-02fb-43df-b56a-68fc22253621
19+ - uses : oasdiff/oasdiff-action/pr-comment@v0.0.37
20+ with :
21+ base : ' origin/${{ github.base_ref }}:simple.yaml'
22+ revision : ' HEAD:simple.yaml'
You can’t perform that action at this time.
0 commit comments