mirror of
https://github.com/github/codeql-action.git
synced 2026-01-02 20:50:05 +08:00
34 lines
800 B
YAML
34 lines
800 B
YAML
name: 'Prepare release job'
|
|
description: 'Prepare for updating a release branch'
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
|
|
- name: Dump environment
|
|
run: env
|
|
shell: bash
|
|
|
|
- name: Dump GitHub context
|
|
env:
|
|
GITHUB_CONTEXT: '${{ toJson(github) }}'
|
|
run: echo "$GITHUB_CONTEXT"
|
|
shell: bash
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: 3.12
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install PyGithub==2.3.0 requests
|
|
shell: bash
|
|
|
|
- name: Update git config
|
|
run: |
|
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
git config --global user.name "github-actions[bot]"
|
|
shell: bash
|