Skip to content

Commit f8718b0

Browse files
authored
Merge branch 'main' into dependabot/go_modules/google.golang.org/protobuf-1.34.2
2 parents 1b23087 + 6f511c3 commit f8718b0

17 files changed

+117
-176
lines changed

.github/labeler.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/pull-request-template.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/automerge-dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- name: Dependabot metadata
1818
id: metadata
19-
uses: dependabot/fetch-metadata@5e5f99653a5b510e8555840e80cbf1514ad4af38 # v2.1.0
19+
uses: dependabot/fetch-metadata@dbb049abf0d677abbd7f7eee0375145b417fdd34 # v2.2.0
2020
with:
2121
github-token: "${{ secrets.GITHUB_TOKEN }}"
2222
- name: Enable auto-merge for Dependabot PRs

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050

5151
# Initializes the CodeQL tools for scanning.
5252
- name: Initialize CodeQL
53-
uses: github/codeql-action/init@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
53+
uses: github/codeql-action/init@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13
5454
with:
5555
languages: ${{ matrix.language }}
5656
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -61,7 +61,7 @@ jobs:
6161
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6262
# If this step fails, then you should remove it and run the build manually (see below)
6363
- name: Autobuild
64-
uses: github/codeql-action/autobuild@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
64+
uses: github/codeql-action/autobuild@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13
6565

6666
# ℹ️ Command-line programs to run using the OS shell.
6767
# 📚 https://git.io/JvXDl
@@ -75,4 +75,4 @@ jobs:
7575
# make release
7676

7777
- name: Perform CodeQL Analysis
78-
uses: github/codeql-action/analyze@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
78+
uses: github/codeql-action/analyze@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
name: Push README to Docker Hub
3+
on:
4+
push:
5+
paths:
6+
- "README.md"
7+
- "README-containers.md"
8+
- ".github/workflows/container_description.yml"
9+
branches: [ main, master ]
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
PushDockerHubReadme:
16+
runs-on: ubuntu-latest
17+
name: Push README to Docker Hub
18+
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
19+
steps:
20+
- name: git checkout
21+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
22+
- name: Set docker hub repo name
23+
run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV
24+
- name: Push README to Dockerhub
25+
uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # v1
26+
env:
27+
DOCKER_USER: ${{ secrets.DOCKER_HUB_LOGIN }}
28+
DOCKER_PASS: ${{ secrets.DOCKER_HUB_PASSWORD }}
29+
with:
30+
destination_container_repo: ${{ env.DOCKER_REPO_NAME }}
31+
provider: dockerhub
32+
short_description: ${{ env.DOCKER_REPO_NAME }}
33+
# Empty string results in README-containers.md being pushed if it
34+
# exists. Otherwise, README.md is pushed.
35+
readme_file: ''
36+
37+
PushQuayIoReadme:
38+
runs-on: ubuntu-latest
39+
name: Push README to quay.io
40+
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks.
41+
steps:
42+
- name: git checkout
43+
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
44+
- name: Set quay.io org name
45+
run: echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV
46+
- name: Set quay.io repo name
47+
run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV
48+
- name: Push README to quay.io
49+
uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # v1
50+
env:
51+
DOCKER_APIKEY: ${{ secrets.QUAY_IO_API_TOKEN }}
52+
with:
53+
destination_container_repo: ${{ env.DOCKER_REPO_NAME }}
54+
provider: quay
55+
# Empty string results in README-containers.md being pushed if it
56+
# exists. Otherwise, README.md is pushed.
57+
readme_file: ''

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
uses: actions/[email protected]
4646

4747
- name: Set up Go ${{ matrix.go_version }}
48-
uses: actions/[email protected].0
48+
uses: actions/[email protected].2
4949
with:
5050
go-version: ${{ matrix.go_version }}
5151

.github/workflows/golangci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
27+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2828
- name: Install Go
29-
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
29+
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
3030
with:
3131
go-version: 1.22.x
3232
- name: Install snmp_exporter/generator dependencies

.github/workflows/pr-auto-label.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -20,55 +20,3 @@ Prometheus uses GitHub to manage reviews of pull requests.
2020
Environments](http://peter.bourgon.org/go-in-production/#formatting-and-style).
2121

2222
* Be sure to sign off on the [DCO](https://github.com/probot/dco#how-it-works)
23-
24-
## How to write a PR description
25-
26-
### Describe your PR
27-
28-
In this section, provide a clear and concise description of what your PR does. This helps reviewers understand the purpose and context of your changes.
29-
30-
### What type of PR is this?
31-
32-
Indicate the type of PR by adding one of the following options:
33-
34-
- `/kind fix`
35-
- `/kind bugfix`
36-
- `/kind enhancement`
37-
- `/kind feature`
38-
- `/kind feat`
39-
- `/kind change`
40-
- `/kind release-note-none`
41-
42-
If this change should not appear in the changelog, use `/kind release-note-none`.
43-
44-
Example 1:
45-
```
46-
### What type of PR is this?
47-
/kind feature
48-
```
49-
50-
Example 2:
51-
```
52-
### What type of PR is this?
53-
/kind release-note-none
54-
```
55-
56-
### Changelog Entry
57-
58-
Include a brief summary of your change for the changelog. This helps users understand what has been modified, added, or fixed in the project. If your change should not appear in the changelog, write `NONE`. Make sure to add only user-facing changes.
59-
60-
Example 1:
61-
```
62-
### Changelog Entry
63-
```release-note
64-
api: Switch to POST for `LabelNames`.
65-
```
66-
```
67-
68-
Example 2:
69-
```
70-
### Changelog Entry
71-
```release-note
72-
NONE
73-
```
74-
```

prometheus/collectors/go_collector_go121_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ func withAllMetrics() []string {
6363
"go_godebug_non_default_behavior_multipartmaxheaders_events_total",
6464
"go_godebug_non_default_behavior_multipartmaxparts_events_total",
6565
"go_godebug_non_default_behavior_multipathtcp_events_total",
66+
"go_godebug_non_default_behavior_netedns0_events_total",
6667
"go_godebug_non_default_behavior_panicnil_events_total",
6768
"go_godebug_non_default_behavior_randautoseed_events_total",
6869
"go_godebug_non_default_behavior_tarinsecurepath_events_total",
@@ -158,6 +159,7 @@ func withDebugMetrics() []string {
158159
"go_godebug_non_default_behavior_multipartmaxheaders_events_total",
159160
"go_godebug_non_default_behavior_multipartmaxparts_events_total",
160161
"go_godebug_non_default_behavior_multipathtcp_events_total",
162+
"go_godebug_non_default_behavior_netedns0_events_total",
161163
"go_godebug_non_default_behavior_panicnil_events_total",
162164
"go_godebug_non_default_behavior_randautoseed_events_total",
163165
"go_godebug_non_default_behavior_tarinsecurepath_events_total",

0 commit comments

Comments
 (0)