Skip to content

Bump actions/checkout from 4.1.7 to 4.2.0 #250

Bump actions/checkout from 4.1.7 to 4.2.0

Bump actions/checkout from 4.1.7 to 4.2.0 #250

Workflow file for this run

---
name: Generate Scripts
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- .vscode/*
pull_request:
paths-ignore:
- .vscode/*
# Cancel existing runs on new commits to a branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
INSTALLER_FILE: "install_dba-multitool.sql"
jobs:
bundle:
runs-on: ubuntu-latest
name: Generate installer
defaults:
run:
shell: pwsh
steps:
- name: Check out code
uses: actions/checkout@v4.2.0
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Create bundled installer script
run: |
Get-ChildItem -Path $Env:GITHUB_WORKSPACE -Filter "sp_*.sql" | Get-Content | Out-File $Env:INSTALLER_FILE -Encoding ascii
Get-ChildItem -Path $Env:GITHUB_WORKSPACE -Filter $Env:INSTALLER_FILE | Select-Object -Property Name, Size, LastWriteTime, User
- name: Commit bundled installer script
uses: stefanzweifel/git-auto-commit-action@v5.0.1
with:
commit_message: Updated bundled installer [skip ci]
file_pattern: ${{ env.INSTALLER_FILE }}