Skip to content

Commit dfa7863

Browse files
Merge branch 'main' into ci-timeouts
2 parents c279dda + 5214361 commit dfa7863

File tree

8 files changed

+42
-50
lines changed

8 files changed

+42
-50
lines changed

.github/workflows/add_member.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
python-version: '3.12'
3030

3131
- name: Checkout code
32-
uses: actions/checkout@v6
32+
uses: actions/checkout@v6.0.1
3333
with:
3434
# This is the default, but it's required since we are performing
3535
# Git operations later on.

.github/workflows/apply.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,22 @@ jobs:
1919
runs-on: ubuntu-latest
2020

2121
permissions:
22-
contents: write
22+
contents: read
23+
pull-requests: write
2324

2425
timeout-minutes: 10
2526

2627
steps:
2728
- name: Checkout code
28-
uses: actions/checkout@v6
29+
uses: actions/checkout@v6.0.1
2930
with:
3031
persist-credentials: false
31-
3232
- name: terraform apply
3333
# v1.44.0
34-
# Use the commit hash for security hardening
35-
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions
3634
uses: dflook/terraform-apply@8f47d0ad9f3cb9e50fd6b3595c0cb98f00c518df
3735
env:
38-
TERRAFORM_ACTIONS_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
TERRAFORM_ACTIONS_GITHUB_TOKEN: ${{ secrets.TERRAFORM_MANAGEMENT_GITHUB_TOKEN }}
3938
with:
4039
path: "terraform"
4140
variables: |
@@ -49,7 +48,7 @@ jobs:
4948
# v0.10.0
5049
uses: devops-infra/action-commit-push@8a2d9d73c3f506468129be2e4409e60dbed70357
5150
with:
52-
github_token: "${{ secrets.TERRAFORM_MANAGEMENT_GITHUB_TOKEN }}"
51+
github_token: ${{ secrets.TERRAFORM_MANAGEMENT_GITHUB_TOKEN }}
5352
commit_prefix: "[AUTO]"
5453
commit_message: "State changes after apply"
5554
force: false

.github/workflows/member-verification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v6
16+
uses: actions/checkout@v6.0.1
1717
with:
1818
persist-credentials: false
1919

.github/workflows/plan.yml

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,55 +14,43 @@ concurrency:
1414

1515
jobs:
1616
format-terraform-code:
17-
name: "Format Terraform code"
17+
name: "Check Terraform code formatting"
1818
runs-on: ubuntu-latest
1919
permissions:
20-
contents: write
20+
contents: read
21+
pull-requests: write
2122
timeout-minutes: 10
2223
steps:
2324
- name: Checkout code
24-
uses: actions/checkout@v6
25+
uses: actions/checkout@v6.0.1
2526
with:
26-
ref: "${{ github.event.pull_request.head.ref }}"
2727
persist-credentials: false
2828

29-
30-
- name: terraform fmt
31-
uses: dflook/terraform-fmt@1964140828a3cd334f311122e09f9e824060382e
29+
- name: terraform fmt check
30+
# v2.2.2
31+
uses: dflook/terraform-fmt-check@10eaa13fa61437aa51be2d12fafe95f152e3512d
3232
with:
3333
path: "terraform"
3434

35-
- name: Commit changes
36-
# v0.9.2
37-
uses: devops-infra/action-commit-push@8a2d9d73c3f506468129be2e4409e60dbed70357
38-
with:
39-
github_token: "${{ secrets.GITHUB_TOKEN }}"
40-
commit_prefix: "[AUTO]"
41-
commit_message: "Format code"
42-
force: false
43-
# target_branch: "${{ github.event.pull_request.head.ref }}"
44-
4535
plan-changes:
4636
name: "Org changes plan"
4737
runs-on: ubuntu-latest
4838
needs: [ "format-terraform-code" ]
4939
permissions:
5040
pull-requests: write
51-
contents: write
52-
41+
contents: read
5342
steps:
5443
- name: Checkout code
55-
uses: actions/checkout@v6
44+
uses: actions/checkout@v6.0.1
5645
with:
5746
persist-credentials: false
5847

5948
- name: terraform plan
6049
# v1.44.0
61-
# Use the commit hash for security hardening
62-
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions
6350
uses: dflook/terraform-plan@dc251c444763eed5defd065b866874b6343017ca
6451
env:
65-
TERRAFORM_ACTIONS_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
TERRAFORM_ACTIONS_GITHUB_TOKEN: ${{ secrets.TERRAFORM_MANAGEMENT_GITHUB_TOKEN }}
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6654
with:
6755
add_github_comment: true
6856
path: "terraform"

.github/workflows/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
timeout-minutes: 3
2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
22+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2323
with:
2424
persist-credentials: false
2525

docs/decision_record.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,25 @@ purpose is to provide transparency and information to future administrators.
1212

1313
## Decisions
1414

15-
- 2024-11-01: Retain project admins as PyPI Owners.
16-
The repository's admins will be retained as PyPI Owners. This provides the project team
17-
greater autonomy and allows a repository to be moved out of Django Commons without the
18-
admins involvement in extreme cases.
19-
- 2025-10-10: Finalized selection of the new Django Commons logo.
20-
[PR](https://github.com/django-commons/membership/pull/304)
21-
- 2025-10-10: 2025 admin team reaffirmations.
22-
Admin team reaffirmed status for next year if we increase the size of the team,
23-
otherwise people are interested in switching with new people.
24-
- 2025-10-10: Retire PyPI team in favor of all admins
25-
- 2025-10-10: Create "operations" team.
26-
Create an "operations" team for people with elevated permissions across GitHub and
27-
PyPI to allow new-to-Django-community people become admins.
15+
- 2025-12-18: Revise admin qualifications.
16+
The admin team and super admin team qualifications have been revised reflect the reality
17+
of who we are looking for those roles and their likely qualifications. Admins can be anyone
18+
while the super admins must be the trusted members since they will have the privileged
19+
access.
2820
- 2025-11-21: Remove the Security team.
2921
There is little regular support from the team currently. The new process will be the
3022
admins will be notified of a security advisory and then they can reach out to community
3123
members based on the context of the issue.
24+
- 2025-10-10: Create "super admins" team.
25+
Create a "super admins" team for people with elevated permissions across GitHub and
26+
PyPI to allow new-to-Django-community people become admins.
27+
- 2025-10-10: Retire PyPI team in favor of all admins
28+
- 2025-10-10: 2025 admin team reaffirmations.
29+
Admin team reaffirmed status for next year if we increase the size of the team,
30+
otherwise people are interested in switching with new people.
31+
- 2025-10-10: Finalized selection of the new Django Commons logo.
32+
[PR](https://github.com/django-commons/membership/pull/304)
33+
- 2024-11-01: Retain project admins as PyPI Owners.
34+
The repository's admins will be retained as PyPI Owners. This provides the project team
35+
greater autonomy and allows a repository to be moved out of Django Commons without the
36+
admins involvement in extreme cases.

terraform/production/repositories.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ repositories = {
285285
allow_update_branch = true
286286
delete_branch_on_merge = false
287287

288-
has_discussions = false
288+
has_discussions = true
289289
has_wiki = false
290290
admins = [
291291
"amirreza8002",

terraform/tfstate.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 4,
33
"terraform_version": "1.14.3",
4-
"serial": 778,
4+
"serial": 780,
55
"lineage": "425397de-8394-a003-8a6c-bce854d9cc53",
66
"outputs": {
77
"invalid_users": {
@@ -3101,12 +3101,12 @@
31013101
"default_branch": "main",
31023102
"delete_branch_on_merge": false,
31033103
"description": "a Valkey backend for django",
3104-
"etag": "W/\"900ab9cde0911515bc590810cc86f2ed47fdf3beb8b64cd1b557e7447f1e1c18\"",
3104+
"etag": "W/\"42358337689048e797234d896b3c33c2c864390ebfbd58bfceefbc2496a9e141\"",
31053105
"fork": "false",
31063106
"full_name": "django-commons/django-valkey",
31073107
"git_clone_url": "git://github.com/django-commons/django-valkey.git",
31083108
"gitignore_template": null,
3109-
"has_discussions": false,
3109+
"has_discussions": true,
31103110
"has_downloads": true,
31113111
"has_issues": true,
31123112
"has_projects": true,

0 commit comments

Comments
 (0)