Files
php-curl-class/.github/workflows/release.yml
T
dependabot[bot] e8196936f9 ⬆ Bump actions/checkout from 5 to 6 (#1019)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zach Borboa <zachborboa@gmail.com>
2025-11-21 14:34:18 +00:00

36 lines
921 B
YAML

name: Release
on:
schedule:
- cron: '0 18 * * 1-4'
workflow_dispatch:
jobs:
release:
# Prevent this workflow from running elsewhere.
if: github.repository_owner == 'php-curl-class'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
persist-credentials: false
- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install --requirement scripts/make_release_requirements.txt
- name: Set git details
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Make release
run: python scripts/make_release.py
env:
GITHUB_TOKEN: ${{ secrets.PHP_CURL_CLASS_TOKEN }}