File tree Expand file tree Collapse file tree 16 files changed +113
-66
lines changed
Expand file tree Collapse file tree 16 files changed +113
-66
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ updates :
4+ - package-ecosystem : ' npm'
5+ directory : ' /'
6+ schedule :
7+ interval : ' weekly'
8+ day : ' monday'
9+ time : ' 08:00'
10+ timezone : ' Etc/GMT'
11+ target-branch : ' workflow/dependency-update'
12+ labels :
13+ - ' workflow'
14+ milestone : 1
Original file line number Diff line number Diff line change 1+ name : Cron Dependency Checker Workflow
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 4 * * 1'
6+
7+ jobs :
8+ cron-dependency-checker :
9+ name : ' Cron Dependency Checker'
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout Repo
13+ uses : actions/checkout@v2
14+ with :
15+ token : ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}
16+
17+ - name : Install Node
18+ uses : actions/setup-node@v1
19+ with :
20+ node-version : 12
21+
22+ - name : NPM Install
23+ run : npm i
24+ - name : Npm Outdated
25+ run : npm run outdated
26+ - name : Build
27+ run : npm run buildProd
28+
29+ - name : Git Commit and Push
30+ run : |
31+ git config --global user.email "furknyavuz@gmail.com"
32+ git config --global user.name "Furkan Yavuz"
33+ git commit -am "Workflow/dependency check"
34+ git push
Original file line number Diff line number Diff line change 66
77jobs :
88 automate-project-columns :
9- name : " Automate Project Columns"
9+ name : ' Automate Project Columns'
1010 runs-on : ubuntu-latest
1111
1212 steps :
Original file line number Diff line number Diff line change 77
88jobs :
99 tagged-release :
10- name : " Tagged Release"
11- runs-on : " ubuntu-latest"
10+ name : ' Tagged Release'
11+ runs-on : ' ubuntu-latest'
1212
1313 steps :
1414 - name : Generate Release From Tag
15- uses : " marvinpinto/action-automatic-releases@latest"
15+ uses : ' marvinpinto/action-automatic-releases@latest'
1616 with :
17- repo_token : " ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}"
17+ repo_token : ' ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}'
1818 prerelease : false
1919
2020 publish-npm :
21- name : " Publish to NPM"
21+ name : ' Publish to NPM'
2222 runs-on : ubuntu-latest
2323
2424 steps :
4646 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
4747
4848 publish-gpr :
49- name : " Publish to GitHub"
49+ name : ' Publish to GitHub'
5050 runs-on : ubuntu-latest
5151
5252 steps :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55 paths-ignore :
66 - ' package.json'
77 branches :
8- - " master"
8+ - ' master'
99
1010jobs :
1111 bump-version :
12- name : " Update Version"
12+ name : ' Update Version'
1313 runs-on : ubuntu-latest
1414
1515 steps :
3030 token : ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}
3131
3232 create-version-update-pr :
33- name : " Create Version Update PR"
33+ name : ' Create Version Update PR'
3434 runs-on : ubuntu-latest
3535 needs : bump-version
3636
Original file line number Diff line number Diff line change 99
1010jobs :
1111 auto-merge :
12- name : " Auto Merge"
12+ name : ' Auto Merge'
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : automerge
16- uses : " pascalgn/automerge-action@v0.14.3"
16+ uses : ' pascalgn/automerge-action@v0.14.3'
1717 env :
18- GITHUB_TOKEN : " ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}"
19- MERGE_LABELS : " workflow"
20- MERGE_COMMIT_MESSAGE : " Auto merge for PR with workflow label"
21- MERGE_FORKS : " false"
22- MERGE_RETRY_SLEEP : " 60000"
18+ GITHUB_TOKEN : ' ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}'
19+ MERGE_LABELS : ' workflow'
20+ MERGE_COMMIT_MESSAGE : ' Auto merge for PR with workflow label'
21+ MERGE_FORKS : ' false'
22+ MERGE_RETRY_SLEEP : ' 60000'
Original file line number Diff line number Diff line change 88
99jobs :
1010 reset-demo-from-develop :
11- name : " Reset Demo From Develop"
11+ name : ' Reset Demo From Develop'
1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Checkout Repo
1919 - name : Hard Reset Demo From Develop
2020 run : |
2121 git fetch origin develop:develop
22- git reset --hard develop
22+ git reset --hard origin/ develop
2323 git push -f
Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ name: PR Open Workflows
33on :
44 pull_request :
55 types : [ opened ]
6+ branches-ignore : [ 'workflow/dependency-update' ]
67
78jobs :
89 pr-labeler :
9- name : " Add Label to PR"
10+ name : ' Add Label to PR'
1011 runs-on : ubuntu-latest
1112
1213 steps :
1617 GITHUB_TOKEN : ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}
1718
1819 automate-project-columns :
19- name : " Automate Project Columns"
20+ name : ' Automate Project Columns'
2021 runs-on : ubuntu-latest
2122
2223 steps :
2829 repo-token : ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}
2930
3031 milestone-binder :
31- name : " Milestone Binder"
32+ name : ' Milestone Binder'
3233 runs-on : ubuntu-latest
3334
3435 steps :
Original file line number Diff line number Diff line change 1+ <component name =" ProjectRunConfigurationManager" >
2+ <configuration default =" false" name =" outdated" type =" js.build_tools.npm" nameIsGenerated =" true" >
3+ <package-json value =" $PROJECT_DIR$/package.json" />
4+ <command value =" outdated" />
5+ <node-interpreter value =" project" />
6+ <package-manager value =" npm" />
7+ <envs />
8+ <method v =" 2" />
9+ </configuration >
10+ </component >
You can’t perform that action at this time.
0 commit comments