File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- # # Automatically approves and merges dependabot PRs if tests pass.
16-
1715name : Dependabot
1816on : pull_request
1917
@@ -23,18 +21,15 @@ permissions:
2321jobs :
2422 test :
2523 uses : ./.github/workflows/test.yml
26-
2724 dependabot :
2825 needs : test
29- if : ${{ github.actor == 'dependabot[bot]' }}
30-
3126 runs-on : ubuntu-latest
27+ if : ${{ github.actor == 'dependabot[bot]' }}
3228 env :
3329 PR_URL : ${{github.event.pull_request.html_url}}
3430 GITHUB_TOKEN : ${{secrets.SYNCED_GITHUB_TOKEN_REPO}}
3531 steps :
36- - name : Approve
32+ - name : approve
3733 run : gh pr review --approve "$PR_URL"
38-
39- - name : Merge
34+ - name : merge
4035 run : gh pr merge --auto --squash --delete-branch "$PR_URL"
You can’t perform that action at this time.
0 commit comments