Skip to content

Commit

Permalink
fix: test with gh
Browse files Browse the repository at this point in the history
  • Loading branch information
sibelly committed Oct 23, 2024
1 parent e96fe79 commit 6eaab94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/auto-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,7 @@ jobs:
promote-hotfix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: main

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
base: ${{ github.ref_name }}
branch: promote-${{ github.ref_name }}
commit-message: "Promote: Merge changes from ${{ github.ref_name }} to main"
title: "[Promote] Hotfix: Merge ${{ github.ref_name }} to main (manual merge required)"
body: "This PR merges branch ${{ github.ref_name }} into main. Please review and merge manually."
- name: create pull request
run: gh pr create -B main -H ${{ github.ref_name }} --title 'Merge ${{ github.ref_name }} into main' --body 'Created by Github action'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

func main() {
fmt.Println("hotfix 1")
fmt.Println("hueheuheuehueheu hotfix 1")
godotenv.Load("./.env")
fmt.Println(os.Getenv("TEST_ENV_FILE_VAR"))
}

0 comments on commit 6eaab94

Please sign in to comment.