Skip to content

build(deps): bump follow-redirects from 1.15.4 to 1.15.6 in /docs-web #90

build(deps): bump follow-redirects from 1.15.4 to 1.15.6 in /docs-web

build(deps): bump follow-redirects from 1.15.4 to 1.15.6 in /docs-web #90

Workflow file for this run

name: "Pre-release"
on:
push:
branches:
- "master"
schedule:
- cron: '0 6 * * 5'
workflow_dispatch:
jobs:
pre-release:
name: "Pre-release"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Fix grub-efi-amd64 error
run: |
sudo apt remove shim-signed grub-efi-amd64-bin -y --allow-remove-essential
- name: Prepare for setup
run: sudo sh prepare-ubuntu.sh
- name: Build Proveasio'ned environment
working-directory: ./ansible
run: ansible-playbook -i inventory.yml setup-ubuntu.yml
- name: Push latest tag
run: |
git config user.name "GitHub Actions"
git config user.email "github-actions@users.noreply.github.com"
git tag latest -f
git push origin latest -f
- name: Get previous tag
id: previousTag
run: |
name=$(git --no-pager tag --sort=creatordate --merged ${{ github.ref_name }} | tail -2 | head -1)
echo "previousTag: $name"
echo "previousTag=$name" >> $GITHUB_ENV
- name: Generate CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
fromTag: latest
toTag: ${{ env.previousTag }}
- name: Create Pre-Release
uses: ncipollo/release-action@v1.12.0
with:
allowUpdates: true
draft: false
makeLatest: true
tag: latest
prerelease: true
name: ${{ github.ref_name }}
body: ${{ steps.changelog.outputs.changes }}
token: ${{ github.token }}
- name: Commit CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: ${{ github.ref_name }}
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }}'
file_pattern: CHANGELOG.md