Skip to content

Commit abdeab9

Browse files
authored
Run CI workflows on main branch (#2)
* run CI workflows on main branch Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com> * remove advanced codeql workflow Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com> --------- Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
1 parent 5ac9592 commit abdeab9

6 files changed

Lines changed: 7 additions & 116 deletions

File tree

.github/codeql/codeql-config.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/CreateRelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Create a Release
55
on:
66
workflow_dispatch:
77
push:
8-
branches: [dev]
8+
branches: [main]
99

1010
permissions:
1111
id-token: write

.github/workflows/PRLabelChecker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Label Checker
22
on:
33
pull_request:
4-
branches: dev
4+
branches: main
55
types: [opened, labeled, unlabeled, synchronize, reopened]
66
permissions:
77
pull-requests: read

.github/workflows/ValidatePullRequests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Validate Pull Request
44

55
on:
66
pull_request:
7-
branches: [ dev, 'release/**' ]
7+
branches: [ main, 'release/**' ]
88

99
permissions:
1010
id-token: write

.github/workflows/codeql.yml

Lines changed: 0 additions & 102 deletions
This file was deleted.

docs/release.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,23 @@ cargo set-version 0.18.0
2222

2323
For simplicity, we keep the version number consistent across all crates in the repository.
2424

25-
Create a PR with these changes and merge it into the `dev` branch.
25+
Create a PR with these changes and merge it into the `main` branch.
2626

2727
## Create a tag
2828

29-
When the `dev` branch has reached a state in which you want to release a new Cargo version, you should create a tag. Although you can do this from the GitHub releases page, we currently recommend doing the tag from the command line. Do so with the following commands:
29+
When the `main` branch has reached a state in which you want to release a new Cargo version, you should create a tag. Although you can do this from the GitHub releases page, we currently recommend doing the tag from the command line. Do so with the following commands:
3030

3131
```bash
3232
git tag -a v0.18.0 -m "A brief description of the release"
3333
git push origin v0.18.0 # if you've named your git remote for the hyperlight-dev/hyperlight-js repo differently, change 'origin' to your remote name
3434
```
3535

36-
>Note: we'll use `v0.18.0` as the version for the above and all subsequent instructions. You should replace this with the version you're releasing. Make sure your version follows [SemVer](https://semver.org) conventions as closely as possible, and is prefixed with a `v` character. *In particular do not use a patch version unless you are patching an issue in a release branch, releases from dev should always be minor or major versions*.
36+
>Note: we'll use `v0.18.0` as the version for the above and all subsequent instructions. You should replace this with the version you're releasing. Make sure your version follows [SemVer](https://semver.org) conventions as closely as possible, and is prefixed with a `v` character. *In particular do not use a patch version unless you are patching an issue in a release branch, releases from main should always be minor or major versions*.
3737
If you are creating a patch release see the instructions [here](#patching-a-release).
3838

3939
## Create a release branch (no manual steps)
4040

41-
After you push your new tag in the previous section, the ["Create a Release Branch"](https://github.com/hyperlight-dev/hyperlight-js/blob/dev/.github/workflows/CreateReleaseBranch.yml) CI job will automatically run. When this job completes, a new `release/v0.18.0` branch will be automatically created for you.
41+
After you push your new tag in the previous section, the ["Create a Release Branch"](https://github.com/hyperlight-dev/hyperlight-js/blob/main/.github/workflows/CreateReleaseBranch.yml) CI job will automatically run. When this job completes, a new `release/v0.18.0` branch will be automatically created for you.
4242

4343
## Create a new GitHub release and publish the crates
4444

0 commit comments

Comments
 (0)