Check for a new upstream version #70
This file contains 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: 'Check for a new upstream version' | |
on: | |
schedule: | |
- cron: '59 23 * * 1' | |
workflow_dispatch: | |
jobs: | |
update-version: | |
name: 'Update version' | |
runs-on: 'ubuntu-latest' | |
permissions: | |
contents: 'write' | |
pull-requests: 'write' | |
steps: | |
- name: 'Checkout the codebase' | |
uses: 'actions/checkout@v4' | |
- name: 'Update version' | |
run: .github/scripts/update-version.sh postgres_exporter | |
env: | |
GITHUB_ACTOR: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |