Merge pull request #91 from YummyOreo/2024-03-28 #18
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
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | |
name: Auto Update Featured Actions | |
on: | |
push: | |
paths: | |
- "update-action/**" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
- name: Run update | |
shell: bash | |
run: cd ./update-action/ && node . | |
- name: Setup git config | |
shell: bash | |
run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "github-actions[bot]@users.noreply.github.com" | |
- name: Commit updated featured action | |
shell: bash | |
run: | | |
git add . | |
git commit -m "chore: auto update featured actions" | |
git push |