Skip to content

Bump guibranco/github-file-reader-action-v2 from 2.2.711 to 2.2.715 in the actions-minor group #84

Bump guibranco/github-file-reader-action-v2 from 2.2.711 to 2.2.715 in the actions-minor group

Bump guibranco/github-file-reader-action-v2 from 2.2.711 to 2.2.715 in the actions-minor group #84

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: write
jobs:
test-action:
name: GitHub Actions Test
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Test Local Action
id: test-action
uses: ./
with:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Print Output
id: output
run: echo "${{ steps.test-action.outputs.leaked-secrets }}"
create-release:
name: Create release
needs: test-action
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '6.x'
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/[email protected]
with:
useConfigFile: true
- name: Create Release
uses: ncipollo/[email protected]
with:
allowUpdates: false
skipIfReleaseExists: true
draft: false
makeLatest: true
tag: v${{ steps.gitversion.outputs.semVer }}
name: Release v${{ steps.gitversion.outputs.semVer }}
generateReleaseNotes: true
body:
Release ${{ steps.gitversion.outputs.semVer }} of ${{ github.event.repository.name }}