Skip to content

Commit 7f14df5

Browse files
authored
Merge pull request #330 from varunrmantri23/main
Automated workflow to update README contributor list daily
2 parents afd01af + 0be5ead commit 7f14df5

File tree

150 files changed

+37233
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+37233
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Update README
2+
3+
on:
4+
workflow_dispatch:
5+
6+
schedule:
7+
- cron: '0 0 * * *'
8+
9+
jobs:
10+
update-readme:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout Repository
15+
uses: actions/checkout@v2
16+
with:
17+
ref: main # Replace with the desired branch name
18+
19+
- name: Install Node.js and Dependencies
20+
uses: actions/setup-node@v2
21+
with:
22+
node-version: '14' # Use the Node.js version you need
23+
24+
- name: Install Dependencies
25+
run: |
26+
npm install axios fs
27+
working-directory: ${{ github.workspace }}
28+
29+
- name: Debug
30+
run: |
31+
echo "Contents of the workspace:"
32+
ls -la
33+
cat README.md
34+
working-directory: ${{ github.workspace }}
35+
36+
- name: Run External Script
37+
run: node ./updateReadme.js
38+
39+
- name: Commit and Push Changes
40+
run: |
41+
git config user.name "${GITHUB_ACTOR}"
42+
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
43+
git add .
44+
git commit -m "Update README and dynamic content"
45+
git push origin HEAD:main # Replace 'main' with your branch name if different
46+
working-directory: ${{ github.workspace }}

README.md

Lines changed: 103 additions & 0 deletions
Large diffs are not rendered by default.

node_modules/asynckit/LICENSE

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/asynckit/README.md

Lines changed: 233 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/asynckit/bench.js

Lines changed: 76 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/asynckit/index.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)