Skip to content

Commit

Permalink
chore: deps: update Updatecli used by Github Action to v2.76.0 (#64)
Browse files Browse the repository at this point in the history
Made with ❤️️ by updatecli

Co-authored-by: updatecli <updatecli-bot@updatecli.io>
  • Loading branch information
updateclibot[bot] and updatecli authored Jan 14, 2025
1 parent fe2f582 commit acd71e0
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/updatecli.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
name: updatecli

on:
workflow_dispatch:
push:
Expand All @@ -9,43 +8,35 @@ on:
schedule:
# Run once a day
- cron: '*/10 * * * *'

permissions:
contents: write
pull-requests: write

jobs:
updatecli:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: "Setup updatecli"
uses: "updatecli/updatecli-action@v2"

uses: "updatecli/updatecli-action@v2.76.0"
- name: Set Node.js 20.x
uses: actions/setup-node@v4.1.0
with:
node-version: 20
cache: npm

cache: npm
- name: "Run updatecli in dryrun"
run: "updatecli compose diff"
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: tibdex/github-app-token@v2.1
id: generate_token
if: github.ref == 'refs/heads/main'
with:
app_id: ${{ secrets.UPDATECLIBOT_APP_ID }}
private_key: ${{ secrets.UPDATECLIBOT_APP_PRIVKEY }}

- name: "Run updatecli"
run: "updatecli compose apply"
env:
GITHUB_ACTOR: ${{ secrets.UPDATECLI_BOT_GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}

0 comments on commit acd71e0

Please sign in to comment.