Skip to content

Commit

Permalink
chore(action): fix sponsors action; (axios#6554)
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalBrainJS authored Aug 17, 2024
1 parent 58eb3b8 commit 3dde8fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sponsors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
node-version: 16
cache: npm
- run: npm ci
- name: Generate PR
- name: Check sponsors updates
id: sponsors
run: node ./bin/sponsors.js
- name: Notify status
Expand Down
2 changes: 1 addition & 1 deletion bin/sponsors.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const updateReadmeSponsors = async (url, path, marker = '<!--<div>marker</div>--
};

(async(url) => {
const newContent = await updateReadmeSponsors(url, './Readme.md');
const newContent = await updateReadmeSponsors(url, './README.md');

await exec(`echo "tag=${newContent ? 'true' : 'false'}" >> $GITHUB_OUTPUT`);
if (newContent !== false) {
Expand Down

0 comments on commit 3dde8fc

Please sign in to comment.