Commit fd2f046
committed
Enhance CI/CD workflow with commit verification
Added a step to fetch the `origin/main` branch with a depth of 1
in the `cd-release.yml` workflow. Introduced a step to verify
that the current commit exists in the `origin/main` branch by
checking if the branch contains the commit. These changes
ensure consistency and validate that the release process
operates on a valid commit from the main branch.1 parent 6ecb2ee commit fd2f046
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
0 commit comments