Skip to content

Commit

Permalink
chore(actions): add ignored paths to actions
Browse files Browse the repository at this point in the history
chore: updated security guidelines and labeler configuration
  • Loading branch information
NyuwBot committed Jan 1, 2024
1 parent 9ca9741 commit f37488f
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

| Version | Supported |
| ------- | ------------------ |
| > 10.5 | :white_check_mark: |
| > 10.4 | :white_check_mark: |
| > 10.0 | :white_check_mark: |
| < 10.0 | :x: |
| < 10.4 | :x: |

## Reporting a Vulnerability

Expand Down
5 changes: 1 addition & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@ labels:
- ".*.png"
- ".*.svg"
- ".*.jpeg"
- ".*.guf"
- ".*.gif"
- ".*.css"
- label: "documentation"
files:
- "DisCatSharp.Docs/.*"
- label: "core"
files:
- "DisCatSharp/.*"
- label: "experimental"
title: ^[Exp]:.*
- label: "dependencies"
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ on:
push:
branches:
- main
paths-ignore:
- "DisCatSharp.Docs/**"
- "DisCatSharp.Archive/**"
- "DisCatSharp.Tools/**"
- "DisCatSharp.Logos/**"
- "DisCatSharp.Attributes/**"
- "*.md"
- "*.json"
pull_request:
merge_group:
workflow_dispatch:
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,19 @@ name: "CodeQL"

on:
push:
branches: [ main ]
branches:
- main
paths-ignore:
- "DisCatSharp.Docs/**"
- "DisCatSharp.Archive/**"
- "DisCatSharp.Tools/**"
- "DisCatSharp.Logos/**"
- "DisCatSharp.Attributes/**"
- "*.md"
- "*.json"
pull_request:
branches: [ main ]
branches:
- main
schedule:
- cron: '39 18 * * 3'
merge_group:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_diagram.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Repo Visualizer
on:
workflow_dispatch: {}
workflow_dispatch:
push:
branches:
- main
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
- name: Delete packed docs
uses: geekyeggo/delete-artifact@v4
with:
token: ${{ secrets.NYUW_TOKEN_GH }}
name: dcs-docs.zip
- name: Add .htaccess
run: rm -f .htaccess && wget https://gist.githubusercontent.com/Lulalaby/8a032d0ddebb9125691094edc67b6593/raw/0c4bf0423cfe334fdd5092b014d2481759dd052a/.htaccess
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/sentry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,19 @@ name: "Sentry Release"

on:
push:
branches:
- main
paths-ignore:
- "DisCatSharp.Docs/**"
- "DisCatSharp.Archive/**"
- "DisCatSharp.Tools/**"
- "DisCatSharp.Logos/**"
- "DisCatSharp.Attributes/**"
- "*.md"
- "*.json"
release:
types: [published]
types:
- published

permissions: write-all

Expand All @@ -29,4 +40,3 @@ jobs:
environment: ${{ github.event_name == 'release' && github.event.action == 'published' && 'prod' || 'dev' }}
ignore_missing: true
version: DisCatSharp@${{ steps.vars.outputs.version }}+${{ steps.vars.outputs.sha }}

3 changes: 2 additions & 1 deletion .github/workflows/tweet.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: "Tweet Releases"
on:
release:
types: [published]
types:
- published
workflow_dispatch:

jobs:
Expand Down

0 comments on commit f37488f

Please sign in to comment.