Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bonnie57 committed Dec 5, 2024
1 parent 3c121fa commit 4e4f9da
Show file tree
Hide file tree
Showing 6 changed files with 157 additions and 218 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
git config --global user.email '[email protected]'
git tag -a $TAG_NAME -m "Release $TAG_NAME"
git push origin $TAG_NAME
echo "toTag=$TAG_NAME" >> $GITHUB_ENV
echo "The tag $TAG_NAME has been created and pushed to the repository"
echo "The tag $LATEST_TAG has been created and pushed to the repository"
env:
Expand All @@ -52,7 +51,7 @@ jobs:
- name: "Build Changelog"
id: github_release
uses: mikepenz/release-changelog-builder-action@a57c1b7c90e56d9c8b26a6ed5d1eed159369e117 #v5.0.0
uses: mikepenz/release-changelog-builder-action@a57c1b7c90e56d9c8b26a6ed5d1eed159369e117
with:
configuration: ${{ env.config_file }}
toTag: ${{ inputs.tag_name}}
Expand All @@ -61,7 +60,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
uses: mikepenz/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 #softprops/[email protected]
uses: mikepenz/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974
with:
body: ${{steps.github_release.outputs.changelog}}
tag_name: ${{ inputs.tag_name }}
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/pr-external.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
types: [opened, synchronize]
branches:
- dev
- dev_v1.1

jobs:
Timestamp_PR_CREATED:
Expand All @@ -30,13 +29,5 @@ jobs:
sha: ${{ github.event.pull_request.head.sha }}
ENVIRONMENT: "beta-sepolia"
secrets:
RPC_PROVIDER_URL: ${{ secrets.RPC_PROVIDER_URL }}
WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }}
TEST_WALLET_ADDRESS: ${{ secrets.TEST_WALLET_ADDRESS }}
SEPOLIA_RPC_PROVIDER_URL: ${{ secrets.SEPOLIA_RPC_PROVIDER_URL }}
TEST_SEPOLIA_RPC_PROVIDER_URL: ${{ secrets.TEST_SEPOLIA_RPC_PROVIDER_URL }}
SEPOLIA_WALLET_PRIVATE_KEY: ${{ secrets.SEPOLIA_WALLET_PRIVATE_KEY }}
SEPOLIA_TEST_WALLET_ADDRESS: ${{ secrets.SEPOLIA_TEST_WALLET_ADDRESS }}
STORY_TEST_NET_RPC_PROVIDER_URL: ${{ secrets.STORY_TEST_NET_RPC_PROVIDER_URL }}
STORY_TEST_NET_WALLET_PRIVATE_KEY: ${{ secrets.STORY_TEST_NET_WALLET_PRIVATE_KEY }}
STORY_TEST_NET_TEST_WALLET_ADDRESS: ${{ secrets.STORY_TEST_NET_TEST_WALLET_ADDRESS }}
12 changes: 0 additions & 12 deletions .github/workflows/pr-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ on:
branches:
- main
- dev
- v1.1
- dev_v1.1

pull_request:
branches:
- main
- dev
- v1.1
- dev_v1.1

jobs:
Timestamp:
Expand All @@ -27,13 +23,5 @@ jobs:
sha: ${{ github.event.pull_request.head.sha }}
ENVIRONMENT: "beta-sepolia"
secrets:
RPC_PROVIDER_URL: ${{ secrets.RPC_PROVIDER_URL }}
WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }}
TEST_WALLET_ADDRESS: ${{ secrets.TEST_WALLET_ADDRESS }}
SEPOLIA_RPC_PROVIDER_URL: ${{ secrets.SEPOLIA_RPC_PROVIDER_URL }}
TEST_SEPOLIA_RPC_PROVIDER_URL: ${{ secrets.TEST_SEPOLIA_RPC_PROVIDER_URL }}
SEPOLIA_WALLET_PRIVATE_KEY: ${{ secrets.SEPOLIA_WALLET_PRIVATE_KEY }}
SEPOLIA_TEST_WALLET_ADDRESS: ${{ secrets.SEPOLIA_TEST_WALLET_ADDRESS }}
STORY_TEST_NET_RPC_PROVIDER_URL: ${{ secrets.STORY_TEST_NET_RPC_PROVIDER_URL }}
STORY_TEST_NET_WALLET_PRIVATE_KEY: ${{ secrets.STORY_TEST_NET_WALLET_PRIVATE_KEY }}
STORY_TEST_NET_TEST_WALLET_ADDRESS: ${{ secrets.STORY_TEST_NET_TEST_WALLET_ADDRESS }}
Loading

0 comments on commit 4e4f9da

Please sign in to comment.