-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
- Loading branch information
Showing
34 changed files
with
1,884 additions
and
132 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Execute script and push changes | ||
|
||
on: | ||
push: | ||
schedule: | ||
- cron: '0 * * * *' # Runs every hour | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # Fetch all history for all branches and tags. | ||
|
||
- name: Execute script | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.REDBOT_GITHUB_TOKEN }} | ||
run: | | ||
chmod +x ./script.sh | ||
./script.sh | ||
- name: Commit and push if it has changed | ||
run: | | ||
git config --global user.email "3293172751ysy@gmail.com" | ||
git config --global user.name "openimbot" | ||
git diff --quiet && git diff --staged --quiet || (git add .; git commit -m "Auto update from Github Action"; git push;) |
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 |
---|---|---|
@@ -1 +1 @@ | ||
[{"name":"API","description":"Issues and PR about the API","color":"FBCA04","default":false,"id":5520223401,"node_id":"LA_kwDOJk4SXM8AAAABSQfsqQ","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/API"},{"name":"automerge","description":"Automatically synchronize files to merge PR tags","color":"FEF2C0","default":false,"id":5602537306,"node_id":"LA_kwDOJk4SXM8AAAABTe_vWg","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/automerge"},{"name":"file-sync","description":"Autosync file","color":"FEF2C0","default":false,"id":5602535701,"node_id":"LA_kwDOJk4SXM8AAAABTe_pFQ","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/file-sync"},{"name":"good first issue","description":"Good for newcomers","color":"7057ff","default":true,"id":5520223407,"node_id":"LA_kwDOJk4SXM8AAAABSQfsrw","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/good%20first%20issue"},{"name":"help wanted","description":"Extra attention is needed","color":"008672","default":true,"id":5520223410,"node_id":"LA_kwDOJk4SXM8AAAABSQfssg","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/help%20wanted"},{"name":"invalid","description":"This doesn't seem right","color":"e4e669","default":true,"id":5520223414,"node_id":"LA_kwDOJk4SXM8AAAABSQfstg","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/invalid"},{"name":"kind/bug","description":"Something isn't working","color":"d73a4a","default":false,"id":5520223417,"node_id":"LA_kwDOJk4SXM8AAAABSQfsuQ","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/kind/bug"},{"name":"kind/documentation","description":"Improvements or additions to documentation","color":"0075ca","default":false,"id":5520223420,"node_id":"LA_kwDOJk4SXM8AAAABSQfsvA","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/kind/documentation"},{"name":"kind/enhancement","description":"New feature or request","color":"a2eeef","default":false,"id":5520223423,"node_id":"LA_kwDOJk4SXM8AAAABSQfsvw","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/kind/enhancement"},{"name":"kind/feature","description":"","color":"DC03D2","default":false,"id":5520223425,"node_id":"LA_kwDOJk4SXM8AAAABSQfswQ","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/kind/feature"},{"name":"lgtm","description":"Indicates that a PR is ready to be merged.","color":"0E8A16","default":false,"id":5520223428,"node_id":"LA_kwDOJk4SXM8AAAABSQfsxA","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/lgtm"},{"name":"lifecycle/stale","description":"","color":"ededed","default":false,"id":5618487007,"node_id":"LA_kwDOJk4SXM8AAAABTuNO3w","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/lifecycle/stale"},{"name":"log","description":"","color":"FBCA04","default":false,"id":5520223430,"node_id":"LA_kwDOJk4SXM8AAAABSQfsxg","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/log"},{"name":"question","description":"Further information is requested","color":"d876e3","default":true,"id":5520223431,"node_id":"LA_kwDOJk4SXM8AAAABSQfsxw","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/question"},{"name":"report","description":"","color":"0E8A16","default":false,"id":5520832656,"node_id":"LA_kwDOJk4SXM8AAAABSRE4kA","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/report"},{"name":"RFC","description":"","color":"10C590","default":false,"id":5520223404,"node_id":"LA_kwDOJk4SXM8AAAABSQfsrA","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/RFC"},{"name":"roadmap","description":"","color":"0E8A16","default":false,"id":5520223432,"node_id":"LA_kwDOJk4SXM8AAAABSQfsyA","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/roadmap"},{"name":"triage/accepted","description":"","color":"0E8A16","default":false,"id":5520223434,"node_id":"LA_kwDOJk4SXM8AAAABSQfsyg","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/triage/accepted"},{"name":"triage/duplicate","description":"This issue or pull request already exists","color":"C001BC","default":false,"id":5520223439,"node_id":"LA_kwDOJk4SXM8AAAABSQfszw","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/triage/duplicate"},{"name":"triage/unresolved","description":"","color":"D93F0B","default":false,"id":5520832653,"node_id":"LA_kwDOJk4SXM8AAAABSRE4jQ","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/triage/unresolved"},{"name":"wontfix","description":"This will not be worked on","color":"ffffff","default":true,"id":5520223448,"node_id":"LA_kwDOJk4SXM8AAAABSQfs2A","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/wontfix"}] | ||
[{"name":"API","description":"Issues and PR about the API","color":"FBCA04","default":false,"id":5520223401,"node_id":"LA_kwDOJk4SXM8AAAABSQfsqQ","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/API"},{"name":"automerge","description":"Automatically synchronize files to merge PR tags","color":"FEF2C0","default":false,"id":5602537306,"node_id":"LA_kwDOJk4SXM8AAAABTe_vWg","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/automerge"},{"name":"file-sync","description":"Autosync file","color":"FEF2C0","default":false,"id":5602535701,"node_id":"LA_kwDOJk4SXM8AAAABTe_pFQ","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/file-sync"},{"name":"good first issue","description":"Good for newcomers","color":"7057ff","default":true,"id":5520223407,"node_id":"LA_kwDOJk4SXM8AAAABSQfsrw","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/good%20first%20issue"},{"name":"help wanted","description":"Extra attention is needed","color":"008672","default":true,"id":5520223410,"node_id":"LA_kwDOJk4SXM8AAAABSQfssg","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/help%20wanted"},{"name":"invalid","description":"This doesn't seem right","color":"e4e669","default":true,"id":5520223414,"node_id":"LA_kwDOJk4SXM8AAAABSQfstg","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/invalid"},{"name":"kind/bug","description":"Something isn't working","color":"d73a4a","default":false,"id":5520223417,"node_id":"LA_kwDOJk4SXM8AAAABSQfsuQ","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/kind/bug"},{"name":"kind/documentation","description":"Improvements or additions to documentation","color":"0075ca","default":false,"id":5520223420,"node_id":"LA_kwDOJk4SXM8AAAABSQfsvA","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/kind/documentation"},{"name":"kind/enhancement","description":"New feature or request","color":"a2eeef","default":false,"id":5520223423,"node_id":"LA_kwDOJk4SXM8AAAABSQfsvw","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/kind/enhancement"},{"name":"kind/feature","description":"","color":"DC03D2","default":false,"id":5520223425,"node_id":"LA_kwDOJk4SXM8AAAABSQfswQ","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/kind/feature"},{"name":"lgtm","description":"Indicates that a PR is ready to be merged.","color":"0E8A16","default":false,"id":5520223428,"node_id":"LA_kwDOJk4SXM8AAAABSQfsxA","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/lgtm"},{"name":"lifecycle/stale","description":"","color":"ededed","default":false,"id":5618487007,"node_id":"LA_kwDOJk4SXM8AAAABTuNO3w","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/lifecycle/stale"},{"name":"log","description":"","color":"FBCA04","default":false,"id":5520223430,"node_id":"LA_kwDOJk4SXM8AAAABSQfsxg","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/log"},{"name":"question","description":"Further information is requested","color":"d876e3","default":true,"id":5520223431,"node_id":"LA_kwDOJk4SXM8AAAABSQfsxw","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/question"},{"name":"report","description":"","color":"0E8A16","default":false,"id":5520832656,"node_id":"LA_kwDOJk4SXM8AAAABSRE4kA","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/report"},{"name":"RFC","description":"","color":"10C590","default":false,"id":5520223404,"node_id":"LA_kwDOJk4SXM8AAAABSQfsrA","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/RFC"},{"name":"roadmap","description":"","color":"0E8A16","default":false,"id":5520223432,"node_id":"LA_kwDOJk4SXM8AAAABSQfsyA","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/roadmap"},{"name":"size/XS","description":"","color":"3CBF00","default":false,"id":5766082794,"node_id":"LA_kwDOJk4SXM8AAAABV69w6g","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/size/XS"},{"name":"triage/accepted","description":"","color":"0E8A16","default":false,"id":5520223434,"node_id":"LA_kwDOJk4SXM8AAAABSQfsyg","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/triage/accepted"},{"name":"triage/duplicate","description":"This issue or pull request already exists","color":"C001BC","default":false,"id":5520223439,"node_id":"LA_kwDOJk4SXM8AAAABSQfszw","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/triage/duplicate"},{"name":"triage/unresolved","description":"","color":"D93F0B","default":false,"id":5520832653,"node_id":"LA_kwDOJk4SXM8AAAABSRE4jQ","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/triage/unresolved"},{"name":"wontfix","description":"This will not be worked on","color":"ffffff","default":true,"id":5520223448,"node_id":"LA_kwDOJk4SXM8AAAABSQfs2A","url":"https://api.github.com/repos/kubecub/go-project-layout/labels/wontfix"}] |
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 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 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
Large diffs are not rendered by default.
Oops, something went wrong.
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 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 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
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.