mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
ee007bc7cf
- trivy v0.36.1 - sonobuoy v0.56.14 - golangci-lint v1.50.1 - gopls v0.11.0 - dapper v0.6.0 - golang v1.19.5 Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
39 lines
995 B
YAML
39 lines
995 B
YAML
name: "Updatecli: Dependency Management"
|
|
|
|
on:
|
|
schedule:
|
|
# Runs at 06 PM UTC
|
|
- cron: '0 18 * * 0'
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
updatecli:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
issues: write
|
|
pull-requests: write
|
|
if: github.ref == 'refs/heads/master'
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: '1.19.5'
|
|
|
|
- name: Install Updatecli
|
|
uses: updatecli/updatecli-action@v2
|
|
|
|
- name: Apply Updatecli
|
|
# Never use '--debug' option, because it might leak the access tokens.
|
|
run: "updatecli apply --clean --config ./updatecli/updatecli.d/ --values ./updatecli/values.yaml"
|
|
env:
|
|
UPDATECLI_GITHUB_ACTOR: ${{ github.actor }}
|
|
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|