-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,27 +11,29 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: '21' | ||
- name: Set up Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: '21' # Adjust to the appropriate Node.js version | ||
|
||
- name: Fetch GitHub Repos | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GHTOKEN }} | ||
run: | | ||
node ./action/fetch-data.js | ||
- name: Fetch GitHub Repos | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GHTOKEN }} | ||
run: | | ||
node ./action/fetch-data.js | ||
- name: Commit and push changes | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GHTOKEN }} | ||
run: | | ||
git config --global user.name 'github-actions[bot]' | ||
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | ||
git add ghmeta.json | ||
git commit -m 'Update ghmeta.json with latest GitHub data' | ||
git push | ||
- name: Configure Git | ||
run: | | ||
git config --global user.name 'github-actions[bot]' | ||
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | ||
- name: Commit and push changes | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GHTOKEN }} | ||
run: | | ||
git add ghmeta.json | ||
git commit -m 'Update ghmeta.json with latest GitHub data' | ||
git push |