Skip to content

Commit

Permalink
Disable dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatoleAM committed Dec 6, 2023
1 parent e9b739a commit f17bf90
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 31 deletions.
24 changes: 4 additions & 20 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,17 @@ version: 2
updates:
# Fetch and update latest `npm` packages
- package-ecosystem: npm
directory: "/"
target-branch: dev
open-pull-requests-limit: 0
schedule:
interval: daily
time: "00:00"
open-pull-requests-limit: 10
reviewers:
- troydota
assignees:
- troydota
commit-message:
prefix: fix
prefix-development: chore
include: scope
directory: "/"
target-branch: dev
# Fetch and update latest `github-actions` pkgs
- package-ecosystem: github-actions
directory: "/"
target-branch: dev
schedule:
interval: daily
time: "00:00"
open-pull-requests-limit: 10
reviewers:
- troydota
assignees:
- troydota
commit-message:
prefix: fix
prefix-development: chore
include: scope
open-pull-requests-limit: 0
18 changes: 9 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ on:
- labeled
workflow_dispatch:
inputs:
deploy:
description: "Which environment to deploy to"
required: true
default: "none"
type: choice
options:
- prod
- test
deploy:
description: "Which environment to deploy to"
required: true
default: "none"
type: choice
options:
- prod
- stage

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
DEPLOY: ${{ (inputs.deploy != 'none' && inputs.deploy) || ((github.event_name == 'workflow_dispatch' && github.event.inputs.deploy == 'prod') || (github.event_name == 'push' && github.ref_type == 'branch' && github.ref_name == 'master') && 'prod') || ((github.event_name == 'workflow_dispatch' && github.event.inputs.deploy == 'stage') || (github.event_name == 'push' && github.ref_type == 'branch' && github.ref_name == 'dev') || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'staged')) && 'test') || 'none' }}
DEPLOY: ${{ (inputs.deploy != 'none' && inputs.deploy) || ((github.event_name == 'workflow_dispatch' && github.event.inputs.deploy == 'prod') || (github.event_name == 'push' && github.ref_type == 'branch' && github.ref_name == 'master') && 'prod') || ((github.event_name == 'workflow_dispatch' && github.event.inputs.deploy == 'stage') || (github.event_name == 'push' && github.ref_type == 'branch' && github.ref_name == 'dev' && 'stage') || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'staged')) && 'stage') || 'none' }}

jobs:
ci:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/crowdin-download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Crowdin Download Translations

on:
workflow_dispatch:
schedule:
- cron: "0 */6 * * *"

jobs:
download:
Expand Down

0 comments on commit f17bf90

Please sign in to comment.