Skip to content
Merged
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
11 changes: 9 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Test

on: [push]
on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sunny claude recommended to restrict the needed permissions for this workflow in the file level instead of relying on the repo setting and I left it because it's how it's set up in the money repo ✌🏻

PS: it might be worth trying to consolidate the settings for all repos 😬

contents: read

jobs:
test:
Expand All @@ -20,7 +27,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v7

- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand Down