Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #54

Merged
merged 3 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/101.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: First Workflow tet test
name: First Workflow tet ftest

on: [push]

Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ on:
push:
branches:
- 'release/**'


jobs:
test:
create-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -16,12 +14,11 @@ jobs:
run: |
git config user.name "GitHub actions"
git config user.email noreply@github.com

- name: Set current date as env variable
run: echo "NOW=$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_ENV
run: echo "NOW=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

- name: create pull request
run: gh pr create -B main -H ${GITHUB_REF#refs/heads/} --title '${GITHUB_REF#refs/heads/} -> master' --body "- Release ${NOW}"
run: gh pr create -B main -H ${GITHUB_REF#refs/heads/} --title "Release ${NOW}" --body "- ${GITHUB_REF#refs/heads/} -> master"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}