Skip to content

Commit

Permalink
test if repo checkout fetches the correct config
Browse files Browse the repository at this point in the history
  • Loading branch information
b-fein committed Dec 11, 2023
1 parent c8ec013 commit 660d9be
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
27 changes: 9 additions & 18 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,35 @@
server:
- changed-files:
- any-glob-to-any-file:
- src/main/java/**/*.java
- any-glob-to-any-file: src/main/java/**/*.java

client:
- changed-files:
- any-glob-to-any-file:
- src/main/webapp/**/*
- any-glob-to-any-file: src/main/webapp/**/*

tests:
- changed-files:
- any-glob-to-any-file:
- src/test/**/*
- any-glob-to-any-file: src/test/**/*

cypress:
- changed-files:
- any-glob-to-any-file:
- src/test/cypress/**/*
- any-glob-to-any-file: src/test/cypress/**/*

database:
- changed-files:
- any-glob-to-any-file:
- src/main/resources/config/liquibase/master.xml
- any-glob-to-any-file: src/main/resources/config/liquibase/master.xml

documentation:
- changed-files:
- any-glob-to-any-file:
- docs/**/*
- any-glob-to-any-file: docs/**/*

docker:
- changed-files:
- any-glob-to-any-file:
- docker/**/*
- any-glob-to-any-file: docker/**/*

config-change:
- changed-files:
- any-glob-to-any-file:
src/main/resources/config/*.yml
- any-glob-to-any-file: src/main/resources/config/*.yml

template:
- changed-files:
- any-glob-to-any-file:
- src/main/resources/templates/**/*
- any-glob-to-any-file: src/main/resources/templates/**/*
4 changes: 4 additions & 0 deletions .github/workflows/pullrequest-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ on: [pull_request_target]

jobs:
label:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 660d9be

Please sign in to comment.