Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update GHA workflows #144

Merged
merged 1 commit into from
Mar 26, 2024
Merged
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
19 changes: 15 additions & 4 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ updates:
reviewers:
- "microsoft/retina"
commit-message:
prefix: "ci"
labels: [ "ci", "dependencies" ]
prefix: "deps"
labels: ["area/infra", "area/dependencies"]
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
directory: "/"
Expand All @@ -17,8 +17,8 @@ updates:
reviewers:
- "microsoft/retina"
commit-message:
prefix: "ci"
labels: [ "ci", "dependencies" ]
prefix: "deps"
labels: ["area/infra", "area/dependencies"]
open-pull-requests-limit: 10
- package-ecosystem: "gomod"
directory: "/"
Expand All @@ -28,6 +28,17 @@ updates:
- "microsoft/retina"
commit-message:
prefix: "deps"
labels: ["lang/go", "area/dependencies"]
ignore:
- dependency-name: "github.com/inspektor-gadget/inspektor-gadget"
open-pull-requests-limit: 10
- package-ecosystem: "gomod"
directory: "/hack/tools"
schedule:
interval: "daily"
reviewers:
- "microsoft/retina"
commit-message:
prefix: "deps"
labels: ["lang/go", "area/infra", "area/dependencies"]
open-pull-requests-limit: 10
17 changes: 9 additions & 8 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: 'Stale PR and Issue Handler'
name: "Stale PR and Issue Handler"
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"

jobs:
stale:
Expand All @@ -16,14 +16,15 @@ jobs:
id: stale
with:
ascending: true
close-issue-message: 'Issue closed due to inactivity.'
close-pr-message: 'Pull request closed due to inactivity.'
close-issue-message: "Issue closed due to inactivity."
close-pr-message: "Pull request closed due to inactivity."
days-before-close: 7
days-before-stale: 14
days-before-stale: 7
delete-branch: true
exempt-issue-labels: 'exempt-stale'
stale-issue-label: "meta/waiting-for-author"
stale-pr-labels: "meta/waiting-for-author"
operations-per-run: 100
stale-issue-message: 'This issue is stale because it has been open for 2 weeks with no activity. Remove stale label or comment or this will be closed in 7 days'
stale-pr-message: 'This pull request is stale because it has been open for 2 weeks with no activity. Remove stale label or comment or this will be closed in 7 days'
stale-issue-message: "This issue is stale because it has been open for 7 days with no activity. Remove stale label or comment or this will be closed in 7 days"
stale-pr-message: "This pull request is stale because it has been open for 7 days with no activity. Remove stale label or comment or this will be closed in 7 days"
- name: Print outputs
run: echo ${{ join(steps.stale.outputs.*, ',') }}
Loading