This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
Update netbird version #92
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: Update netbird version | |
on: | |
workflow_dispatch: | |
schedule: | |
# Run every week | |
- cron: '0 0 * * 0' | |
jobs: | |
update: | |
name: Update netbird version | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install requirements | |
run: pip install requests | |
- name: Update | |
id: update | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: python .github/update.py | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
branch: update-netbird-version | |
delete-branch: true | |
add-paths: | | |
netbird/Makefile | |
title: 'Update netbird to v${{ steps.update.outputs.NETBIRD_VERSION }}' | |
commit-message: 'Update netbird to v${{ steps.update.outputs.NETBIRD_VERSION }}' |