chore: Bump @nextcloud/axios from 2.5.0 to 2.5.1 #312
Workflow file for this run
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
# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors | |
# SPDX-License-Identifier: MIT | |
name: Changelog | |
on: | |
pull_request: | |
paths: | |
- 'package.json' | |
jobs: | |
build: | |
name: Auto generation | |
runs-on: ubuntu-latest | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- name: Check-out | |
uses: actions/checkout@v4 | |
- name: Get last released tag | |
id: last_version | |
uses: InsonusK/[email protected] | |
with: | |
myToken: ${{ secrets.GITHUB_TOKEN }} | |
exclude_types: draft | |
view_top: 1 | |
- name: Get new version | |
id: future_version | |
uses: Saionaro/[email protected] | |
- name: Generate changelog between ${{ steps.last_version.outputs.tag_name }} and v${{ steps.future_version.outputs.version }} | |
uses: docker://ferrarimarco/github-changelog-generator | |
# If we have a version change | |
if: contains(steps.last_version.outputs.tag_name, steps.future_version.outputs.version) == false | |
with: | |
args: > | |
-t ${{ secrets.GITHUB_TOKEN }} | |
--user nextcloud-libraries | |
--project nextcloud-upload | |
--no-issues | |
--no-issues-wo-labels | |
--max-issues 0 | |
--exclude-labels "duplicate,question,invalid,wontfix,dependencies" | |
--since-tag ${{ steps.last_version.outputs.tag_name }} | |
--future-release v${{ steps.future_version.outputs.version }} | |
--breaking-label "### :boom: Breaking changes" | |
--enhancement-label "### :rocket: Enhancements" | |
--bugs-label "### :bug: Fixed bugs" | |
--deprecated-label "### Deprecated" | |
--removed-label "### Removed" | |
--security-label "### Security fixes" | |
--issues-label "### Closed issues" | |
--pr-label "### Closed pull requests" | |
- name: Print changelog to console | |
run: cat CHANGELOG.md | |
if: contains(steps.last_version.outputs.tag_name, steps.future_version.outputs.version) == false | |
- name: Upload changelog | |
uses: actions/upload-artifact@v4 | |
if: contains(steps.last_version.outputs.tag_name, steps.future_version.outputs.version) == false | |
with: | |
name: Changelog | |
path: CHANGELOG.md |