Skip to content

Update netbird version #28

Update netbird version

Update netbird version #28

Workflow file for this run

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 }}'