Update neuvector dependency #171
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update neuvector dependency | |
| on: | |
| schedule: | |
| - cron: '0 2 * * *' # Run daily at 2 AM UTC | |
| workflow_dispatch: | |
| jobs: | |
| update-neuvector-dependency: | |
| name: Update neuvector dependency | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # for updatecli to update the repository | |
| pull-requests: write # for updatecli to create a PR | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Install Updatecli in the runner | |
| uses: updatecli/updatecli-action@57aa8966d4d775cb1420b90c270ba97a4b5abe47 # v2.93.0 | |
| - name: Update neuvector dependency | |
| env: | |
| UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| UPDATECLI_GITHUB_OWNER: ${{ github.repository_owner }} | |
| run: "updatecli compose apply --file updatecli/updatecli-compose.bump-neuvector.yaml" |