Skip to content

Commit 221ba02

Browse files
committed
Merge branch 'main' into getting_started/add_filenames_on_top_of_every_index
2 parents b0e20cc + 14ffa17 commit 221ba02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1651
-592
lines changed

.github/autolabeler.yml

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

.github/labeler.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
actioncable:
2+
- changed-files:
3+
- any-glob-to-any-file: "actioncable/**/*"
4+
actionmailbox:
5+
- changed-files:
6+
- any-glob-to-any-file: "actionmailbox/**/*"
7+
actionmailer:
8+
- changed-files:
9+
- any-glob-to-any-file: "actionmailer/**/*"
10+
actionpack:
11+
- changed-files:
12+
- any-glob-to-any-file: "actionpack/**/*"
13+
actiontext:
14+
- changed-files:
15+
- any-glob-to-any-file: "actiontext/**/*"
16+
actionview:
17+
- changed-files:
18+
- any-glob-to-any-file: "actionview/**/*"
19+
activejob:
20+
- changed-files:
21+
- any-glob-to-any-file: "activejob/**/*"
22+
activemodel:
23+
- changed-files:
24+
- any-glob-to-any-file: "activemodel/**/*"
25+
activerecord:
26+
- changed-files:
27+
- any-glob-to-any-file: "activerecord/**/*"
28+
activestorage:
29+
- changed-files:
30+
- any-glob-to-any-file: "activestorage/**/*"
31+
activesupport:
32+
- changed-files:
33+
- any-glob-to-any-file: "activesupport/**/*"
34+
rails-ujs:
35+
- changed-files:
36+
- any-glob-to-any-file: "actionview/app/assets/javascripts/rails-ujs/**/*"
37+
railties:
38+
- changed-files:
39+
- any-glob-to-any-file: "railties/**/*"
40+
docs:
41+
- changed-files:
42+
- any-glob-to-any-file: "guides/**/*"

.github/no-response.yml

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

.github/stale.yml

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

.github/verba-sequentur.yml

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

.github/workflows/labeler.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "rails-bot: Label PRs"
2+
on:
3+
# This event runs in the context of the base of the pull request, rather than
4+
# in the context of the merge commit, as the pull_request event does. This
5+
# prevents execution of unsafe code from the head of the pull request that
6+
# could alter your repository or steal any secrets you use in your workflow.
7+
# This event allows your workflow to do things like label or comment on pull
8+
# requests from forks. Avoid using this event if you need to build or run
9+
# code from the pull request.
10+
#
11+
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request_target
12+
pull_request_target:
13+
14+
jobs:
15+
labeler:
16+
permissions:
17+
contents: read
18+
pull-requests: write
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/labeler@v5
22+
with:
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}
24+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "rails-bot: More Info Needed"
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
more-info-needed:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
issues: write
13+
steps:
14+
- uses: actions/stale@v9
15+
with:
16+
repo-token: ${{ secrets.GITHUB_TOKEN }}
17+
days-before-stale: 14
18+
days-before-close: 0 # Close immediately
19+
operations-per-run: 100
20+
stale-issue-label: "more-information-needed"
21+
close-issue-message: >
22+
This issue has been automatically closed because there has been no follow-up
23+
response from the original author. We currently don't have enough
24+
information in order to take action. Please reach out if you have any additional
25+
information that will help us move this issue forward.
26+
only-labels: "more-information-needed"
27+
only-pr-labels: false

.github/workflows/rails-new-docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- name: Run container
3535
run: |
3636
podman run --name $APP_NAME \
37+
--user root \
3738
-v $(pwd):$(pwd) \
3839
-e SECRET_KEY_BASE_DUMMY=1 \
3940
-e DATABASE_URL=sqlite3:storage/production.sqlite3 \

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,16 @@ jobs:
2626
registry-url: 'https://registry.npmjs.org'
2727
- name: Configure trusted publishing credentials
2828
uses: rubygems/[email protected]
29+
# Ensure npm 11.5.1 or later is installed
30+
- name: Update npm
31+
run: npm install -g npm@latest
2932
- name: Bundle install
3033
run: bundle install
3134
working-directory: tools/releaser
3235
- name: Run release rake task
3336
run: bundle exec rake push
3437
shell: bash
3538
working-directory: tools/releaser
36-
env:
37-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3839
- name: Wait for release to propagate
3940
run: gem exec rubygems-await pkg/*.gem
4041
shell: bash

.github/workflows/stale.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "rails-bot: Stale Issues"
2+
on:
3+
schedule:
4+
- cron: '0 * * * *'
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
11+
issues: write
12+
steps:
13+
- uses: actions/stale@v9
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
days-before-stale: 90
17+
days-before-close: 7
18+
operations-per-run: 100
19+
exempt-milestones: true
20+
exempt-issue-labels: 'pinned,security,With reproduction steps,attached PR,regression,release blocker,more-information-needed'
21+
stale-issue-label: 'stale'
22+
stale-pr-label: 'stale'
23+
exempt-all-milestones: true
24+
stale-issue-message: >
25+
This issue has been automatically marked as stale because it has not been commented on for at least three months.
26+
27+
The resources of the Rails team are limited, and so we are asking for your help.
28+
29+
If you can still reproduce this error on the `8-1-stable` branch or on `main`,
30+
please reply with all of the information you have about it in order to keep the issue open.
31+
32+
Thank you for all your contributions.
33+
only-pr-labels: false

0 commit comments

Comments
 (0)