-
Notifications
You must be signed in to change notification settings - Fork 219
43 lines (41 loc) · 1.13 KB
/
test.yml
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
34
35
36
37
38
39
40
41
42
43
name: Jenkins Security Scan
on:
push:
branches:
- develop
pull_request:
types: [ opened, synchronize, reopened ]
workflow_dispatch:
jobs:
use_api:
runs-on: ubuntu-latest
permissions:
actions: write
attestations: write
checks: write
contents: write
deployments: write
id-token: write
issues: write
discussions: write
packages: write
pages: write
pull-requests: write
repository-projects: write
security-events: write
statuses: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "devbot"
git checkout -b feat/test-12
touch test
git add .
git commit -m "test"
git remote set-url origin https://uipath:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git push --set-upstream origin feat/test-12
gh pr create --base develop --head feat/test-12