mirror of
https://github.com/tenrok/axios.git
synced 2026-06-08 17:22:34 +03:00
e6d71017d3
Bumps the github-actions group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `4` | `5` | | [tj-actions/changed-files](https://github.com/tj-actions/changed-files) | `46` | `47` | | [actions/setup-node](https://github.com/actions/setup-node) | `4` | `5` | | [github/codeql-action](https://github.com/github/codeql-action) | `3` | `4` | | [actions/labeler](https://github.com/actions/labeler) | `5` | `6` | | [actions/stale](https://github.com/actions/stale) | `9` | `10` | Updates `actions/checkout` from 4 to 5 - [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/v4...v5) Updates `tj-actions/changed-files` from 46 to 47 - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v46...v47) Updates `actions/setup-node` from 4 to 5 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4...v5) Updates `github/codeql-action` from 3 to 4 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v3...v4) Updates `actions/labeler` from 5 to 6 - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/v5...v6) Updates `actions/stale` from 9 to 10 - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v9...v10) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: tj-actions/changed-files dependency-version: '47' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/setup-node dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: github/codeql-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/labeler dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/stale dependency-version: '10' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
73 lines
2.2 KiB
YAML
73 lines
2.2 KiB
YAML
name: Update Readme sponsor list
|
|
on:
|
|
workflow_dispatch:
|
|
repository_dispatch:
|
|
types:
|
|
- webhook
|
|
schedule:
|
|
# Run at 0000 daily
|
|
- cron: '0 1 * * *'
|
|
jobs:
|
|
sponsors:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
fetch-depth: 0
|
|
- name: git config
|
|
run: |
|
|
git config user.name "${GITHUB_ACTOR}"
|
|
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
|
- name: Setup node
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 16
|
|
cache: npm
|
|
- run: npm ci
|
|
- name: Check sponsors updates
|
|
id: sponsors
|
|
run: node ./bin/sponsors.js
|
|
- name: Notify status
|
|
if: ${{ steps.sponsors.outputs.changed == 'true'}}
|
|
run: |
|
|
echo "Sponsor block has changed. Creating PR with updates..."
|
|
- name: Read sponsors.md file content
|
|
if: ${{ steps.sponsors.outputs.changed == 'true'}}
|
|
id: read_file
|
|
run: |
|
|
echo 'CONTENT<<EOF' >> $GITHUB_ENV
|
|
cat ./temp/sponsors.md >> $GITHUB_ENV
|
|
echo 'EOF' >> $GITHUB_ENV
|
|
shell: bash
|
|
- name: Echo
|
|
run: |
|
|
echo "$CONTENT"
|
|
- name: Create pull request
|
|
if: ${{ steps.sponsors.outputs.changed == 'true'}}
|
|
uses: peter-evans/create-pull-request@v7
|
|
id: cpr
|
|
with:
|
|
branch: sponsors
|
|
delete-branch: true
|
|
commit-message: 'chore(sponsor): update sponsor block'
|
|
title: '[Chore] Update sponsor block'
|
|
body: |
|
|
**New sponsor block update:**
|
|
${{ env.CONTENT }}
|
|
labels: |
|
|
pr::docs
|
|
bot
|
|
automerge
|
|
signoff: false
|
|
#team-reviewers: |
|
|
# owners
|
|
# maintainers
|
|
#assignees: jasonsaayman
|
|
#reviewers: jasonsaayman
|
|
draft: false
|
|
- name: Show PR link
|
|
if: ${{ steps.sponsors.outputs.changed == 'true'}}
|
|
run: |
|
|
echo "Sponsor block has changed. Creating PR..."
|
|
echo "Axios Release v${{ steps.package-version.outputs.current-version}}' pull request - ${{ steps.cpr.outputs.pull-request-url }}"
|