Skip to content

Commit

Permalink
deps: bump Updatecli GitHub action to v2.57.0 (#517)
Browse files Browse the repository at this point in the history
chore: deps: update Updatecli used by Github Action to v2.57.0

Made with ❤️️ by updatecli

Co-authored-by: updatecli <updatecli-bot@updatecli.io>
  • Loading branch information
updateclibot[bot] and updatecli committed Apr 30, 2024
1 parent 5b670d2 commit 500ec63
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/updatecli.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
name: updatecli

on:
merge_group:
branches:
Expand All @@ -12,39 +11,32 @@ on:
# Run once a day
- cron: '*/10 * * * *'
workflow_dispatch:

permissions:
actions: write
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.57.0"
- 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/v2'
with:
app_id: ${{ secrets.UPDATECLIBOT_APP_ID }}
private_key: ${{ secrets.UPDATECLIBOT_APP_PRIVKEY }}

- name: "Run updatecli"
if: github.ref == 'refs/heads/v2'
run: "updatecli compose apply"
env:
GITHUB_ACTOR: ${{ secrets.UPDATECLI_BOT_GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}

0 comments on commit 500ec63

Please sign in to comment.