Skip to content

Commit

Permalink
Merge branch 'expressjs:gh-pages' into improve-menu-list
Browse files Browse the repository at this point in the history
  • Loading branch information
bjohansebas authored Aug 24, 2024
2 parents 486819c + e99a818 commit 99f8766
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ on:
jobs:
check-translation:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -52,9 +57,11 @@ jobs:
});
const modifiedLanguages = new Set(files.map(file => file.filename.split('/')[0]));
const labelsToAdd = languages.filter(lang => !modifiedLanguages.has(lang)).map(lang => `requires-translation-${lang}`);
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pullRequest.number,
labels: labelsToAdd
});
if (labelsToAdd.length > 0) {
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pullRequest.number,
labels: labelsToAdd
});
}
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1.1
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
source 'https://rubygems.org'

ruby '3.1.1'

gem 'github-pages', group: :jekyll_plugins
gem 'webrick'

0 comments on commit 99f8766

Please sign in to comment.