Skip to content

Commit 58d278b

Browse files
committed
chore(ci): move all scripts under .github/scripts
1 parent 3f0c33d commit 58d278b

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed
File renamed without changes.

.github/workflows/publish.yml

+3-16
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ name: Publish to PyPi
2020
# 6. Kick off Lambda Layer pipeline to publish latest version with minimal dependencies as a SAR App
2121
# 7. Kick off Lambda Layer pipeline to publish latest version with extra dependencies as a SAR App
2222
# 8. Builds a fresh version of docs including Changelog updates
23-
# 9. Push latest release source code to master using release title as the commit message
24-
# 10. Builds latest documentation for new release, and update latest alias pointing to the new release tag
25-
# 11. Close and notify all issues labeled "pending-release" about the release details
23+
# 9. Builds latest documentation for new release, and update latest alias pointing to the new release tag
24+
# 10. Close and notify all issues labeled "pending-release" about the release details
2625

2726
#
2827
# === Fallback mechanism due to external failures ===
@@ -111,17 +110,5 @@ jobs:
111110
uses: actions/github-script@v6
112111
with:
113112
script: |
114-
const post_release = require('.github/workflows/post_release.js')
113+
const post_release = require('.github/scripts/post_release.js')
115114
await post_release({github, context, core})
116-
117-
sync_master:
118-
needs: release
119-
runs-on: ubuntu-latest
120-
steps:
121-
- uses: actions/checkout@v3
122-
- name: Sync master from detached head
123-
# If version matches CHANGELOG and pyproject.toml
124-
# If it passes all checks, successfully releases to test and prod
125-
# Then sync up master with latest source code release
126-
# where commit message will be Release notes title
127-
run: git push origin HEAD:refs/heads/master --force

0 commit comments

Comments
 (0)