Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
57 changes: 57 additions & 0 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
github-actions:
- changed-files:
- any-glob-to-any-file:
- '.github/**'

dependencies:
- changed-files:
- any-glob-to-any-file:
- 'go.mod'
- 'go.sum'

documentation:
- changed-files:
- any-glob-to-any-file:
- 'README.md'
- COMPATIBILITY.md
- 'docs/**'

tests:
- changed-files:
- any-glob-to-any-file:
- '**/*_test.go'

convert:
- changed-files:
- any-glob-to-any-file:
- 'cty/convert/*'

functions:
- changed-files:
- any-glob-to-any-file:
- 'cty/function/*.go'

functions/stdlib:
- changed-files:
- any-glob-to-any-file:
- 'cty/function/stdlib/*.go'

gocty:
- changed-files:
- any-glob-to-any-file:
- 'cty/gocty/*.go'

json:
- changed-files:
- any-glob-to-any-file:
- 'cty/json/*.go'

msgpack:
- changed-files:
- any-glob-to-any-file:
- 'cty/msgpack/*.go'

set-internals:
- changed-files:
- any-glob-to-any-file:
- 'cty/set/*.go'
18 changes: 18 additions & 0 deletions .github/workflows/triage-issue.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Triage Issue
on:
issues:
types:
- reopened
- opened
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- run: gh issue edit "$NUMBER" --add-label "$LABELS"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
LABELS: needs-triage
14 changes: 14 additions & 0 deletions .github/workflows/triage-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Triage PR"
on:
- pull_request_target

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
configuration-path: .github/labeler.yaml