Skip to content

Commit

Permalink
Disable parts of actions that can (and should) only be run by wez.
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan2412 committed May 20, 2024
1 parent f0cff99 commit e72f65f
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 162 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/gen_macos_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,20 +88,6 @@ jobs:
with:
name: "macos"
path: "WezTerm-*.zip"
- name: "Checkout homebrew tap"
uses: actions/checkout@v4
with:
repository: "wez/homebrew-wezterm"
path: "homebrew-wezterm"
token: "${{ secrets.GH_PAT }}"
- name: "Update homebrew tap formula"
shell: bash
run: "cp wezterm.rb homebrew-wezterm/Casks/wezterm.rb"
- name: "Commit homebrew tap changes"
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Automated update to match latest tag"
repository: "homebrew-wezterm"

upload:
runs-on: ubuntu-latest
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/gen_ubuntu20.04_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,20 +106,6 @@ jobs:
*src.tar.gz
*.AppImage
*.zsync
- name: "Checkout linuxbrew tap"
uses: actions/checkout@v4
with:
repository: "wez/homebrew-wezterm-linuxbrew"
path: "linuxbrew-wezterm"
token: "${{ secrets.GH_PAT }}"
- name: "Update linuxbrew tap formula"
shell: bash
run: "cp wezterm-linuxbrew.rb linuxbrew-wezterm/Formula/wezterm.rb"
- name: "Commit linuxbrew tap changes"
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Automated update to match latest tag"
repository: "linuxbrew-wezterm"
upload:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -148,17 +134,3 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) wezterm-*.deb wezterm-*.xz *src.tar.gz *.AppImage *.zsync *.sha256"
- name: "Checkout flathub/org.wezfurlong.wezterm"
uses: actions/checkout@v4
with:
repository: "flathub/org.wezfurlong.wezterm"
path: "flathub"
token: "${{ secrets.GH_PAT }}"
- name: "Create flathub commit and push"
shell: bash
run: "bash ci/make-flathub-pr.sh"
- name: "Submit PR"
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
shell: bash
run: 'cd flathub && gh pr create --fill --body "PR automatically created by release automation in the wezterm repo"'
5 changes: 0 additions & 5 deletions .github/workflows/gen_ubuntu22.04_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,3 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: "bash ci/retry.sh gh release upload --clobber nightly wezterm-*.deb wezterm-*.xz *.sha256"
- name: "Upload to gemfury"
env:
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
shell: bash
run: "for f in wezterm*.deb ; do curl -i -F package=@$f https://[email protected]/wez/ ; done"
5 changes: 0 additions & 5 deletions .github/workflows/gen_ubuntu22.04_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ jobs:
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Upload to gemfury"
env:
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
shell: bash
run: "for f in wezterm*.deb ; do curl -i -F package=@$f https://[email protected]/wez/ ; done"
- name: "Download artifact"
uses: actions/download-artifact@v3
with:
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/gen_windows_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,23 +102,3 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: "bash ci/retry.sh gh release upload --clobber $(ci/tag-name.sh) WezTerm-*.zip WezTerm-*.exe *.sha256"
- name: "Checkout winget-pkgs"
uses: actions/checkout@v4
with:
repository: "wez/winget-pkgs"
path: "winget-pkgs"
token: "${{ secrets.GH_PAT }}"
- name: "Setup email for winget repo"
shell: bash
run: "cd winget-pkgs && git config user.email [email protected]"
- name: "Setup name for winget repo"
shell: bash
run: "cd winget-pkgs && git config user.name 'Wez Furlong'"
- name: "Create winget manifest and push to fork"
shell: bash
run: "bash ci/make-winget-pr.sh winget-pkgs WezTerm-*.exe"
- name: "Submit PR"
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
shell: bash
run: 'cd winget-pkgs && gh pr create --fill --body "PR automatically created by release automation in the wezterm repo"'
Loading

0 comments on commit e72f65f

Please sign in to comment.