Compare commits

...

14 Commits

Author SHA1 Message Date
Bilal Qamar
6421765100 refactor: updated workflow 2023-02-27 17:55:56 +05:00
Bilal Qamar
f27fc6fa07 refactor: updated workflow 2023-02-27 17:46:40 +05:00
Bilal Qamar
8f052a7ea1 refactor: updated workflow 2023-02-27 17:44:05 +05:00
Bilal Qamar
5e29402f5b refactor: updated workflow 2023-02-27 17:41:16 +05:00
Bilal Qamar
bc0eaf18fc refactor: updated workflow 2023-02-27 17:37:32 +05:00
Bilal Qamar
772008b361 refactor: updated workflow 2023-02-27 17:32:50 +05:00
Bilal Qamar
6e17d53b6a refactor: updated node version to v18 for release dry-run 2023-02-27 17:21:03 +05:00
Bilal Qamar
063ce855ca refactor: fixed build typo 2023-02-27 17:18:00 +05:00
Bilal Qamar
748d4746b3 refactor: added semantic-release-export-data & updated workflows 2023-02-27 17:12:30 +05:00
renovate[bot]
fdbb83f51e fix(deps): update font awesome to v6.3.0 2023-02-27 11:38:21 +00:00
Feanil Patel
f6e4664d37 Merge pull request #304 from openedx/repo_checks/ensure_workflows
Update standard workflow files.
2023-02-24 11:45:23 -05:00
Feanil Patel
65177fcdcc build: Updating a missing workflow file add-depr-ticket-to-depr-board.yml.
The .github/workflows/add-depr-ticket-to-depr-board.yml workflow is missing or needs an update to stay in
sync with the current standard for this workflow as defined in the
`.github` repo of the `openedx` GitHub org.
2023-02-23 13:57:40 -05:00
Feanil Patel
7601249fb6 build: Creating a missing workflow file add-remove-label-on-comment.yml.
The .github/workflows/add-remove-label-on-comment.yml workflow is missing or needs an update to stay in
sync with the current standard for this workflow as defined in the
`.github` repo of the `openedx` GitHub org.
2023-02-23 13:57:40 -05:00
Feanil Patel
c8ef3dad93 build: Creating a missing workflow file self-assign-issue.yml.
The .github/workflows/self-assign-issue.yml workflow is missing or needs an update to stay in
sync with the current standard for this workflow as defined in the
`.github` repo of the `openedx` GitHub org.
2023-02-23 13:57:39 -05:00
7 changed files with 9752 additions and 52 deletions

View File

@@ -16,4 +16,4 @@ jobs:
secrets:
GITHUB_APP_ID: ${{ secrets.GRAPHQL_AUTH_APP_ID }}
GITHUB_APP_PRIVATE_KEY: ${{ secrets.GRAPHQL_AUTH_APP_PEM }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_ISSUE_BOT_TOKEN }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_ISSUE_BOT_TOKEN }}

View File

@@ -0,0 +1,20 @@
# This workflow runs when a comment is made on the ticket
# If the comment starts with "label: " it tries to apply
# the label indicated in rest of comment.
# If the comment starts with "remove label: ", it tries
# to remove the indicated label.
# Note: Labels are allowed to have spaces and this script does
# not parse spaces (as often a space is legitimate), so the command
# "label: really long lots of words label" will apply the
# label "really long lots of words label"
name: Allows for the adding and removing of labels via comment
on:
issue_comment:
types: [created]
jobs:
add_remove_labels:
uses: openedx/.github/.github/workflows/add-remove-label-on-comment.yml@master

View File

@@ -5,7 +5,7 @@ on:
- master
pull_request:
branches:
- '**'
- master
jobs:
tests:
runs-on: ubuntu-latest
@@ -35,3 +35,27 @@ jobs:
run: npm run i18n_extract
- name: Coverage
uses: codecov/codecov-action@v3
get-next-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npx semantic-release --dry-run
id: get-next-version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: echo "The new release version is ${{ needs.get-next-version.outputs.new-release-version }}"
outputs:
new-release-published: ${{ steps.get-next-version.outputs.new-release-published }}
new-release-version: ${{ steps.get-next-version.outputs.new-release-version }}
build:
runs-on: ubuntu-latest
needs: get-next-version
steps:
- uses: actions/checkout@v3
- run: echo "The new release version is ${{ needs.get-next-version.outputs.new-release-version }}"

12
.github/workflows/self-assign-issue.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
# This workflow runs when a comment is made on the ticket
# If the comment starts with "assign me" it assigns the author to the
# ticket (case insensitive)
name: Assign comment author to ticket if they say "assign me"
on:
issue_comment:
types: [created]
jobs:
self_assign_by_comment:
uses: openedx/.github/.github/workflows/self-assign-issue.yml@master

View File

@@ -1,5 +1,5 @@
{
"branch": "master",
"branches": ["master", "next"],
"tagFormat": "v${version}",
"verifyConditions": [
"@semantic-release/npm",
@@ -12,7 +12,13 @@
],
"analyzeCommits": "@semantic-release/commit-analyzer",
"generateNotes": "@semantic-release/release-notes-generator",
"prepare": "@semantic-release/npm",
"prepare": [
"@semantic-release/npm",
{
"path": "semantic-release-export-data",
"output": "release.json"
}
],
"publish": [
"@semantic-release/npm",
{

9720
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -31,6 +31,9 @@
"bugs": {
"url": "https://github.com/openedx/frontend-component-header/issues"
},
"release": {
"branches": ["master", "next"]
},
"homepage": "https://github.com/openedx/frontend-component-header#readme",
"devDependencies": {
"@edx/brand": "npm:@edx/brand-openedx@1.2.0",
@@ -53,14 +56,15 @@
"react-test-renderer": "16.14.0",
"reactifex": "1.1.1",
"redux": "4.2.1",
"redux-saga": "1.2.2"
"redux-saga": "1.2.2",
"semantic-release-export-data": "^1.0.1"
},
"dependencies": {
"@edx/paragon": "20.28.4",
"@fortawesome/fontawesome-svg-core": "6.2.1",
"@fortawesome/free-brands-svg-icons": "6.2.1",
"@fortawesome/free-regular-svg-icons": "6.2.1",
"@fortawesome/free-solid-svg-icons": "6.2.1",
"@fortawesome/fontawesome-svg-core": "6.3.0",
"@fortawesome/free-brands-svg-icons": "6.3.0",
"@fortawesome/free-regular-svg-icons": "6.3.0",
"@fortawesome/free-solid-svg-icons": "6.3.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"babel-polyfill": "6.26.0",
"react-responsive": "8.2.0",