FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
oras-java/.github/workflows/updatecli.yaml at main · Bijnagte/oras-java · GitHub
Bijnagte
/
oras-java
Public
forked from
oras-project/oras-java
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
oras-java
/
.github
/
workflows
/
updatecli.yaml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
34 lines (30 loc) · 1.07 KB
Breadcrumbs
oras-java
/
.github
/
workflows
/
updatecli.yaml
Copy path
File metadata and controls
34 lines (30 loc) · 1.07 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
name
:
updatecli
on
:
workflow_dispatch
:
schedule
:
-
cron
:
'
0 2 * * 1
'
#
Every Monday at 2am UTC
push
:
pull_request
:
jobs
:
updatecli
:
permissions
:
contents
:
write
pull-requests
:
write
runs-on
:
ubuntu-latest
if
:
github.repository_owner == 'oras-project'
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
#
v6.0.1
with
:
persist-credentials
:
false
-
name
:
Install Updatecli in the runner
uses
:
updatecli/updatecli-action@4fd2c16d992120bd5355264a03ad0cddec013e1b
#
v2.99.0
-
name
:
Run Updatecli in Dry Run mode
run
:
updatecli diff --config ./updatecli/updatecli.d --values ./updatecli/values.github-action.yaml
env
:
UPDATECLI_GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Run Updatecli in Apply mode
if
:
github.ref == 'refs/heads/main'
run
:
updatecli apply --config ./updatecli/updatecli.d --values ./updatecli/values.github-action.yaml
env
:
UPDATECLI_GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
Back
|
FazBrowse Home
|
New Git URL