-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 862 Bytes
/
security-update.yml
File metadata and controls
33 lines (32 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ==========================
#
# THIS IS A GENERATED FILE. Don't modify this file.
#
# Modify file in .github/jsTemplates/workflows/security-update.yml.ts
#
# ==========================
name: security-update
'on':
pull_request:
types:
- opened
- synchronize
branches:
- master
jobs:
cancel-not-dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- run: echo Pull request created by ${{ github.event.pull_request.user.login }} is dependabot[bot]
pr-update-base:
needs:
- cancel-not-dependabot
runs-on: ubuntu-latest
steps:
- uses: a-b-r-o-w-n/check-base-branch-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
protected-branches: master
default-branch: develop
update-branch: true