-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into feat/media-container-…
…toggleable # Conflicts: # src/modules/esl-media/core/esl-media.ts
- Loading branch information
Showing
171 changed files
with
9,978 additions
and
5,738 deletions.
There are no files selected for viewing
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 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,63 @@ | ||
name: Fix Release Labels (Maintainers Only) | ||
|
||
on: | ||
# Runs manually by maintainer | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
issues: write | ||
pull-requests: write | ||
statuses: write | ||
|
||
jobs: | ||
find-n-fix-release-label: | ||
name: Find and Fix Release Labels | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Check permissions | ||
- uses: tspascoal/get-user-teams-membership@v3 | ||
id: permissions | ||
with: | ||
username: ${{ github.actor }} | ||
team: 'ESL Core Maintainers' | ||
GITHUB_TOKEN: ${{ secrets.PERMISSION_CHECK_TOKEN }} | ||
|
||
- if: ${{ steps.permissions.outputs.isTeamMember == 'true' }} | ||
name: Access Check Passed | ||
run: echo ${{ github.actor }} is in 'ESL Core Maintainers' group | ||
- if: ${{ steps.permissions.outputs.isTeamMember == 'false' }} | ||
name: Access Denied | ||
run: exit 1 | ||
|
||
- name: Find and fix 'released on @beta' issues without 'released' label | ||
id: find-issues | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
const issues = await github.paginate(github.rest.issues.listForRepo, { | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
labels: 'released on @beta', | ||
state: 'all' | ||
}); | ||
const issuesWithoutReleasedLabel = issues.filter(issue => !issue.labels.some(label => label.name === 'released')); | ||
console.log('Found %d issues without "released" label', issuesWithoutReleasedLabel.length); | ||
for (const issue of issuesWithoutReleasedLabel) { | ||
console.log(`Adding 'released' label to issue #${issue.number}`); | ||
await github.rest.issues.addLabels({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: issue.number, | ||
labels: ['released'] | ||
}); | ||
console.log(`Removing 'released on @beta' label from issue #${issue.number}`); | ||
await github.rest.issues.removeLabel({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: issue.number, | ||
name: 'released on @beta' | ||
}); | ||
} |
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 |
---|---|---|
|
@@ -82,3 +82,4 @@ plugins: | |
label: Released ESLint Config NPM Tarball | ||
- path: CHANGELOG.md | ||
label: Changelog | ||
successComment: false |
Large diffs are not rendered by default.
Oops, something went wrong.
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 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 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
Binary file modified
BIN
+2.96 KB
(110%)
...omepage.feature/feature-homepage-looks-fine-test-homepage-footer-on-desktop.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+27 Bytes
(100%)
...homepage.feature/feature-homepage-looks-fine-test-homepage-footer-on-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+694 Bytes
(110%)
....feature/feature-homepage-looks-fine-test-homepage-hamburger-menu-on-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.36 KB
(100%)
...homepage.feature/feature-homepage-looks-fine-test-homepage-screen-on-mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+714 Bytes
(100%)
...apshots__/homepage.feature/feature-homepage-looks-fine-test-homepage-screen.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+65 Bytes
(100%)
...mage_snapshots__/test.feature/feature-test-page-looks-fine-test-page-screen.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 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 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 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 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
Oops, something went wrong.