Skip to content

Commit

Permalink
ci(github): add Github Actions CI Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
boromir674 committed Oct 22, 2023
1 parent 7968856 commit c1e5684
Show file tree
Hide file tree
Showing 3 changed files with 428 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Pull Request Labeling Rules based on changed files

# Add 'ci' label to any change within the '.github' dir
ci:
- any: ['.github/*', '.github/**/*']


# Add 'business_logic' label to any change within the 'src/artificial_artwork' dir
business_logic:
- any: ['src/artificial_artwork/*', 'src/artificial_artwork/**/*']


# Add 'docs' label to any change within the 'docs' dir
docs:
- any: ['docs/*', 'docs/**/*']


# Add 'test' label to any change within the 'tests' dir
test:
- any: ['tests/*', 'tests/**/*']
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Pull Request Labeler"
on:
- pull_request_target

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

0 comments on commit c1e5684

Please sign in to comment.