Skip to content

Update Dependencies #96

Update Dependencies

Update Dependencies #96

name: Update Dependencies
on:
schedule:
- cron: "40 1 * * *"
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Setup ASDF
uses: asdf-vm/actions/install@b7bcd026f18772e44fe1026d729e1611cc435d47
- name: Update Tools
run: ./scripts/update-dependencies tools
- name: Update Docker Dependencies
run: ./scripts/update-dependencies docker
- name: Update Pomerium Dependencies
run: ./scripts/update-dependencies pomerium
- name: Check for Changes
id: git-diff
run: |
git config --global user.email "apparitor@users.noreply.github.com"
git config --global user.name "GitHub Actions"
git add .
git diff --cached --exit-code || echo "changed=true" >> $GITHUB_OUTPUT
- name: Create Pull Request
if: ${{ steps.git-diff.outputs.changed }} == 'true'

Check warning on line 40 in .github/workflows/update-dependencies.yaml

View workflow run for this annotation

GitHub Actions / Update Dependencies

Workflow syntax warning

.github/workflows/update-dependencies.yaml (Line: 40, Col: 13): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0
with:
author: GitHub Actions <apparitor@users.noreply.github.com>
body: "This PR updates dependencies not managed by dependabot."
branch: ci/update-core
commit-message: "ci: update dependencies"
delete-branch: true
labels: ci
title: "ci: update dependencies"
token: ${{ secrets.APPARITOR_GITHUB_TOKEN }}