Files
GoogleDriveManagement/.github/workflows/check-for-actions-updates.yml
2025-08-31 20:42:14 -04:00

31 lines
804 B
YAML

name: Check for outdated GitHub Actions
on:
schedule:
- cron: '37 20 * * 3'
workflow_dispatch:
permissions:
actions: write
jobs:
check-actions:
name: Check for GHA updates
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run actions-up
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx actions-up --yes
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6 # Use the action
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Automated changes"
title: "GitHub Actions versions neeeding updating"
body: "This PR was created automatically by a GitHub Action."
branch: "automated-pr-branch"