Skip to content

Commit

Permalink
fix(workflow): update workflow files (#542)
Browse files Browse the repository at this point in the history
* fix(workflow): update workflow files

* fix(actions): don't close after issues and PRs
  • Loading branch information
tran-christian authored Aug 25, 2024
1 parent 69684bb commit 1c23e8b
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 8 deletions.
42 changes: 36 additions & 6 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,52 @@ root:
- changed-files:
- any-glob-to-any-file: '*'

# Add 'AnyChange' label to any changes within the entire repository
AnyChange:
- changed-files:
- any-glob-to-any-file: '**'

# Add 'Documentation' label to any change to .md files within the entire repository
Documentation:
- changed-files:
- any-glob-to-any-file: '**/*.md'

# Add 'source' label to any change to src files within the source dir EXCEPT for the docs sub-folder
# Add 'source' label to any change to src files within the source dir
source:
- all:
- changed-files:
- any-glob-to-any-file: 'src/**/*'

# Add 'pages' label to any changes within the entire repository
pages:
- changed-files:
- any-glob-to-any-file: 'pages/**/*'

# Add 'public' label to any changes within the entire repository
public:
- changed-files:
- any-glob-to-any-file: 'public/**/*'

# Add 'globals' label to any changes within the entire repository
globals:
- changed-files:
- any-glob-to-any-file: 'globals/**/*'

# Add 'firebase' label to any changes within the entire repository
firebase:
- changed-files:
- any-glob-to-any-file: 'firebase/**/*'

# Add 'context' label to any changes within the entire repository
context:
- changed-files:
- any-glob-to-any-file: 'context/**/*'

# Add 'workflows' label to any changes within the entire repository
workflows:
- changed-files:
- any-glob-to-any-file: '.github/**/*'

# Add 'devcontainer' label to any changes within the entire repository
devcontainer:
- changed-files:
- any-glob-to-any-file: '.devcontainer/**/*'

# Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name
feature:
- head-branch: ['^feature', 'feature']
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@ jobs:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
stale-pr-message: 'Stale pull request message'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
exempt-issue-labels: Not Stale
exempt-pr-labels: Not Stale
stale-issue-message: >
This issue is stale because it has been open for 60 days with no
activity.
stale-pr-message: >
This pull request is stale because it has been open for 60 days
with no activity.
days-before-close: -1

0 comments on commit 1c23e8b

Please sign in to comment.