-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
73 additions
and
39 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# https://help.github.com/en/articles/about-code-owners | ||
# These owners will be the default owners for everything in | ||
# the repo. Unless a later match takes precedence, they | ||
# will be requested for review when someone opens a PR. | ||
* @WeTransfer/dmx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: daily | ||
time: "10:00" | ||
timezone: Europe/Amsterdam | ||
- package-ecosystem: bundler | ||
directory: / | ||
registries: "*" | ||
schedule: | ||
interval: daily | ||
time: "09:00" | ||
timezone: Europe/Amsterdam | ||
- package-ecosystem: "docker" | ||
directory: "/" | ||
schedule: | ||
interval: weekly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: CI | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
# dependabot PRs only have read permission so cannot run this workflow. | ||
paths-ignore: | ||
- "**/*.md" | ||
- ".gitignore" | ||
- "README.md" | ||
- ".env.example" | ||
- "docs/*" | ||
jobs: | ||
validate: | ||
uses: ./.github/workflows/validate.yml | ||
secrets: | ||
token: ${{ secrets.WT_GITHUB_REPO_RO_PACKAGES_RO }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Validate | ||
on: | ||
workflow_call: | ||
secrets: | ||
token: | ||
required: true | ||
|
||
jobs: | ||
validate: | ||
name: Validate | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.0' | ||
bundler-cache: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
gem update --system | ||
gem install bundler | ||
bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle} | ||
- name: Run tests | ||
run: | | ||
bundle exec rspec | ||
bundle exec rubocop --fail-level convention |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.