Skip to content

Commit

Permalink
Remove publishing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Oct 31, 2023
1 parent f6342cd commit d1e377e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 200 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/create-release-pr.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,29 +48,3 @@ jobs:
if [[ $passed != "true" ]]; then
exit 1
fi
is-release:
# Filtering by `push` events ensures that we only release from the `main` branch, which is a
# requirement for our npm publishing environment.
# The commit author should always be 'github-actions' for releases created by the
# 'create-release-pr' workflow, so we filter by that as well to prevent accidentally
# triggering a release.
if: github.event_name == 'push' && startsWith(github.event.head_commit.author.name, 'github-actions')
needs: all-jobs-pass
outputs:
IS_RELEASE: ${{ steps.is-release.outputs.IS_RELEASE }}
runs-on: ubuntu-latest
steps:
- uses: MetaMask/action-is-release@v1
id: is-release

publish-release:
needs: is-release
if: needs.is-release.outputs.IS_RELEASE == 'true'
name: Publish release
permissions:
contents: write
uses: ./.github/workflows/publish-release.yml
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PUBLISH_SITE_TOKEN: ${{ secrets.PUBLISH_SITE_TOKEN }}
88 changes: 0 additions & 88 deletions .github/workflows/publish-release.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/publish-site.yml

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@ set -u
set -o pipefail

rm .github/CODEOWNERS
rm .github/workflows/create-release-pr.yml
rm .github/workflows/publish-release.yml
rm .github/workflows/publish-site.yml
rm -f scripts/cleanup.sh
git commit -am "Clean up undesired MetaMask GitHub files"

0 comments on commit d1e377e

Please sign in to comment.