Skip to content
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
12 changes: 12 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,17 @@
"matchUpdateTypes": ["major"],
"enabled": false,
}
],
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "npm",
"fileMatch": [
"^.github/workflows/"
],
"matchStrings": [
"npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)"
]
}
]
}
6 changes: 6 additions & 0 deletions .github/workflows/assign-reviewers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ on:
# because repository write permission is needed to assign reviewers
pull_request_target:

permissions:
contents: read

jobs:
assign-reviewers:
permissions:
contents: read
pull-requests: write # for assigning reviewers
runs-on: ubuntu-latest
steps:
- uses: open-telemetry/assign-reviewers-action@b101a9c17274e3d4fff0853898007e9e3a366675 # main
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
pull_request:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/issue-management-feedback-label.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
name: Issue management - remove needs feedback label
name: Issue management - remove labels as needed

on:
issue_comment:
types: [created]

permissions:
contents: read

jobs:
issue_comment:
permissions:
contents: read
issues: write
if: >
contains(github.event.issue.labels.*.name, 'needs author feedback') &&
github.event.comment.user.login == github.event.issue.user.login
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Remove label
- name: Remove labels
env:
ISSUE_NUMBER: ${{ github.event.issue.number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh issue edit --remove-label "needs author feedback" $ISSUE_NUMBER
gh issue edit --remove-label "stale" $ISSUE_NUMBER
9 changes: 7 additions & 2 deletions .github/workflows/issue-management-stale-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:
jobs:
stale:
permissions:
contents: read
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
Expand All @@ -21,11 +22,15 @@ jobs:
days-before-stale: 7
days-before-close: 7
only-labels: "needs author feedback"
stale-issue-label: stale
stale-issue-message: >
This has been automatically marked as stale because it has been marked
as needing author feedback and has not had any activity for 7 days.
It will be closed if no further activity occurs within 7 days of this comment.
It will be closed automatically if there is no response from the author
within 7 additional days from this comment.
stale-pr-label: stale
stale-pr-message: >
This has been automatically marked as stale because it has been marked
as needing author feedback and has not had any activity for 7 days.
It will be closed if no further activity occurs within 7 days of this comment.
It will be closed automatically if there is no response from the author
within 7 additional days from this comment.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Release
on:
workflow_dispatch:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -50,6 +53,8 @@ jobs:
path: jmx-metrics/build/reports/tests/integrationTest

release:
permissions:
contents: write # for creating the release
runs-on: ubuntu-latest
needs:
- build
Expand Down Expand Up @@ -186,6 +191,8 @@ jobs:
echo "version=$VERSION" >> $GITHUB_OUTPUT

merge-change-log-to-main:
permissions:
contents: write # for git push to PR branch
runs-on: ubuntu-latest
needs:
- release
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/reusable-markdown-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Reusable - Markdown link check
on:
workflow_call:

permissions:
contents: read

jobs:
markdown-link-check:
runs-on: ubuntu-latest
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/reusable-markdown-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install markdownlint
run: npm install -g markdownlint-cli

- name: Run markdownlint
run: |
markdownlint -c .github/config/markdown-lint-config.yml **/*.md
npx markdownlint[email protected] -c .github/config/markdownlint.yml **/*.md
Loading