Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
furknyavuz committed Sep 27, 2021
1 parent e205f7d commit 7cdd2c2
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 47 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/cron-dependency-checker-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Cron Dependency Checker Workflow

on:
schedule:
- cron: '0 4 * * 1'

jobs:
cron-dependency-checker:
name: 'Cron Dependency Checker'
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
with:
token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}

- name: Install Node
uses: actions/setup-node@v1
with:
node-version: 12

- name: NPM Install
run: npm i
- name: Npm Outdated
run: npm run outdated
- name: Build
run: npm run buildProd

- name: Git Commit and Push
run: |
git config --global user.email "[email protected]"
git config --global user.name "Furkan Yavuz"
git commit -am "Workflow/dependency check"
git push
4 changes: 2 additions & 2 deletions .github/workflows/issue-open-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
automate-project-columns:
name: 'Automate Project Columns'
name: "Automate Project Columns"
runs-on: ubuntu-latest

steps:
Expand All @@ -18,7 +18,7 @@ jobs:
repo-token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}

milestone-binder:
name: 'Milestone Binder'
name: "Milestone Binder"
runs-on: ubuntu-latest

steps:
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/on-push-to-dependency-update.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/pr-open-to-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
- name: Hard Reset Demo From Develop
run: |
git fetch origin develop:develop
git reset --hard develop
git reset --hard origin/develop
git push -f
20 changes: 1 addition & 19 deletions .github/workflows/pr-open-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: PR Open Workflows
on:
pull_request:
types: [ opened ]
branches-ignore: 'workflow/dependency-update'
branches-ignore: [ 'workflow/dependency-update' ]

jobs:
pr-labeler:
Expand Down Expand Up @@ -37,21 +37,3 @@ jobs:
uses: Code-Hex/auto-milestone-binder@v1.0.1
with:
github-token: ${{ secrets.MASTER_BRANCH_ACCESS_TOKEN }}

continuous-integration:
name: 'Npm Continuous Integration'
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v2

- name: Install Node
uses: actions/setup-node@v1
with:
node-version: 12

- name: NPM Install
run: npm install
- name: NPM Continous Integration
run: npm ci

0 comments on commit 7cdd2c2

Please sign in to comment.