File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414permissions :
1515 contents : read
1616 deployments : write
17- packages : read
1817
1918concurrency :
2019 group : cf-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
4544 username : ${{ vars.CF_USERNAME }}
4645 password : ${{ secrets.CF_PASSWORD }}
4746 - run : npm install
48- env :
49- NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
5047
5148 - run : npx cds up
5249
Original file line number Diff line number Diff line change 77 push :
88 branches : [ "main" ]
99
10+ permissions :
11+ contents : read
12+ packages : write
13+
1014jobs :
1115 build :
12-
1316 runs-on : ubuntu-latest
14- permissions :
15- contents : read
16- packages : write
17-
1817 steps :
1918 - uses : actions/checkout@v6
2019 - name : Set up JDK
3231 working-directory : apis/data-service
3332 run : mvn deploy -s $GITHUB_WORKSPACE/settings.xml
3433 env :
35- GITHUB_TOKEN : ${{ github.token }}
34+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 33
44name : Java CI with Maven
55
6- permissions :
7- contents : read
8-
96on :
107 workflow_call :
118 pull_request :
129 branches : [ "main" ]
1310
11+ permissions :
12+ contents : read
13+
1414jobs :
1515 build :
16-
1716 runs-on : ubuntu-latest
18-
1917 steps :
2018 - uses : actions/checkout@v6
2119 - name : Set up JDK
Original file line number Diff line number Diff line change 88permissions :
99 contents : read
1010 deployments : write
11- packages : read
1211
1312jobs :
1413 tests :
You can’t perform that action at this time.
0 commit comments