2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

chore(action): fix sponsors action; (#6555)

This commit is contained in:
Dmitriy Mozgovoy
2024-08-17 21:53:51 +03:00
committed by GitHub
parent 3dde8fce50
commit a909e38e70
3 changed files with 10 additions and 2 deletions
+8 -1
View File
@@ -31,6 +31,13 @@ jobs:
if: ${{ steps.sponsors.outputs.changed }}
run: |
echo "Sponsor block has changed. Creating PR with updates..."
- name: Read sponsors.md file content
id: read_file
run: |
FILE_CONTENT=$(cat ./temp/sponsors.md)
echo "File content: $FILE_CONTENT"
echo "::set-output name=file_content::$FILE_CONTENT"
shell: bash
- name: Create pull request
if: ${{ steps.sponsors.outputs.changed }}
uses: peter-evans/create-pull-request@v6
@@ -42,7 +49,7 @@ jobs:
title: '[Chore] Update sponsor block'
body: |
**New sponsor block update:**
{{ steps.sponsors.outputs.content }}
{{ steps.read_file.outputs.file_content }}
labels: |
readme
automated pr