Skip to content

NB-6 Plugin Name Changed netbox_cloud_pilot to netbox_paas #91

NB-6 Plugin Name Changed netbox_cloud_pilot to netbox_paas

NB-6 Plugin Name Changed netbox_cloud_pilot to netbox_paas #91

Workflow file for this run

name: CI
on:
release:
types:
- published
workflow_dispatch: { }
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+(-[a-zA-Z]+[0-9]+)?
pull_request:
types:
- opened
- synchronize
jobs:
pre_commit:
name: Run lint rules
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.10'
- uses: pre-commit/[email protected]
test:
runs-on: ubuntu-latest
name: Runs plugin tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test the image
run: ./test.sh
changelog:
name: "Changelog Generator"
runs-on: ubuntu-latest
needs:
- test
timeout-minutes: 30
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: "Generate changelog"
uses: charmixer/[email protected]
with:
exclude_labels: "type: skip ci,status: abandoned,type: duplicate,type: question,type: wontfix,type: invalid"
token: ${{ secrets.GIT_TOKEN }}
- name: Commit and push to dev
uses: EndBug/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
with:
add: "CHANGELOG.md"
message: "[skip ci] Updated CHANGELOG.md"
new_branch: dev
push: origin dev --set-upstream
committer_name: GitHub Actions
committer_email: [email protected]
default_author: github_actions