Skip to content

Commit

Permalink
Ignore packages in dependabot + limit when GH actions run (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwngr authored Nov 3, 2024
1 parent 6decbe4 commit dceef40
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ updates:
- "/scripts"
schedule:
interval: "monthly"
ignore:
# Ignore packages which are very outdated and need to be updated manually.
- dependency-name: "puppeteer"
- dependency-name: "rc-slider"
9 changes: 7 additions & 2 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: Deploy prod frontend on merge
name: Deploy prod website on merge
on:
push:
branches:
- master
paths:
- 'website/**'
- '.firebaserc'
- '.prettierrc'
- 'firebase.json'
jobs:
build_and_deploy:
deploy_functions_prod:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: Deploy frontend preview on PR
on: pull_request
name: Preview staging website on PR
on:
pull_request:
paths:
- 'website/**'
- '.firebaserc'
- '.prettierrc'
- 'firebase.json'
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
deploy_functions_stag:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: Run Scripts CI on push
on: [push]
name: Run scripts CI on push
on:
push:
paths:
- 'scripts/**'
- '.prettierrc'
jobs:
scripts-ci:
scripts-ci-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: Run Frontend CI on push
on: [push]
name: Run website CI on push
on:
push:
paths:
- 'website/**'
- '.prettierrc'
jobs:
frontend-ci:
website-ci-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit dceef40

Please sign in to comment.