Skip to content

Allow to define publishing assets as repo variable, disable codeql for C++, and fix issue in nightly workflows #1253

Allow to define publishing assets as repo variable, disable codeql for C++, and fix issue in nightly workflows

Allow to define publishing assets as repo variable, disable codeql for C++, and fix issue in nightly workflows #1253

on:
pull_request_target:
types:
- closed
branches:
- 'main'
- 'releases/*'
- 'staging/*'
- 'experimental/*'
- 'features/*'
name: PR merged
jobs:
pr_info:
name: Store PR info
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
permissions: {}
steps:
- run: |
echo "pr-number: ${{ github.event.pull_request.number }}" >> metadata.txt
echo "pr-base: ${{ github.event.pull_request.base.ref }}" >> metadata.txt
echo "source-sha: ${{ github.sha }}" >> metadata.txt
- name: Upload metadata
uses: actions/upload-artifact@v4
with:
name: metadata_pr
path: metadata.txt
retention-days: 1
if-no-files-found: error