diff --git a/.github/workflows/auto-pr.yaml b/.github/workflows/auto-pr.yaml index 3a1deb0..a128040 100644 --- a/.github/workflows/auto-pr.yaml +++ b/.github/workflows/auto-pr.yaml @@ -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." \ No newline at end of file + - 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 }} \ No newline at end of file diff --git a/go/main.go b/go/main.go index cb59a38..30727e7 100644 --- a/go/main.go +++ b/go/main.go @@ -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")) }