Skip to content

Commit 21a54b4

Browse files
authored
Merge pull request #68 from open-template-hub/develop
Release/business logic updates
2 parents 592ce04 + 408dd2a commit 21a54b4

16 files changed

+113
-66
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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

.github/workflows/issue-assigned-workflows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
automate-project-columns:
9-
name: "Automate Project Columns"
9+
name: 'Automate Project Columns'
1010
runs-on: ubuntu-latest
1111

1212
steps:

.github/workflows/on-push-tags.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ on:
77

88
jobs:
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:
@@ -46,7 +46,7 @@ jobs:
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:

.github/workflows/on-push-to-master.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/on-version-update.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on:
55
paths-ignore:
66
- 'package.json'
77
branches:
8-
- "master"
8+
- 'master'
99

1010
jobs:
1111
bump-version:
12-
name: "Update Version"
12+
name: 'Update Version'
1313
runs-on: ubuntu-latest
1414

1515
steps:
@@ -30,7 +30,7 @@ jobs:
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

.github/workflows/pr-labeled-at-develop-workflows.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ on:
99

1010
jobs:
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'

.github/workflows/pr-open-to-demos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
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
@@ -19,5 +19,5 @@ jobs:
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

.github/workflows/pr-open-workflows.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ name: PR Open Workflows
33
on:
44
pull_request:
55
types: [ opened ]
6+
branches-ignore: [ 'workflow/dependency-update' ]
67

78
jobs:
89
pr-labeler:
9-
name: "Add Label to PR"
10+
name: 'Add Label to PR'
1011
runs-on: ubuntu-latest
1112

1213
steps:
@@ -16,7 +17,7 @@ jobs:
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:
@@ -28,7 +29,7 @@ jobs:
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:

.run/outdated.run.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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>

0 commit comments

Comments
 (0)