Skip to content

Improvements to changesets versioning #3

Improvements to changesets versioning

Improvements to changesets versioning #3

name: Add changeset to renovate created PRs
on:
pull_request:
types: [opened, synchronize, reopened]
branches: [main]
# Increase the access for the GITHUB_TOKEN
permissions:
# This Allows the GITHUB_TOKEN to add to pull requests
contents: write
pull-requests: write
jobs:
add_changeset:
runs-on: ubuntu-latest
name: Add changeset
steps:
- name: Add renovate changeset
id: add_renovate_changeset
uses: OctopusDeploy/util-actions/[email protected]
with:
type: patch
summary: ${{ github.event.pull_request.title }}
ignore: |
**/node_modules/**/*
- name: Print changeset contents
run: cat ${{ steps.add_renovate_changeset.outputs.changesetPath }}