diff --git a/.gitea/workflows/maintenance.yaml b/.gitea/workflows/maintenance.yaml index 02bf7a5..282c0dd 100644 --- a/.gitea/workflows/maintenance.yaml +++ b/.gitea/workflows/maintenance.yaml @@ -23,13 +23,14 @@ jobs: branch: update/pre-commit-hooks push_options: --force create_branch: true - - name: My PR action + - name: Generate Date + run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV + - name: Create an PR action uses: ./ with: token: ${{ secrets.REPO_TOKEN }} branch: update/pre-commit-hooks - title: My PR Title - # body: My PR Body + title: Updates to the pre-commit action created at ${{ env.CURRENT_DATE }} + body: Update to the pre-commit action. assignees: Philipp reviewers: Philipp - labels: chore diff --git a/action.yml b/action.yml index 3b0d237..788485e 100644 --- a/action.yml +++ b/action.yml @@ -1,4 +1,4 @@ -name: Create PR if not exists +name: Create an PR action description: Creates a pull request for a branch if it does not already exist inputs: token: diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 6f4460f..7ea9ba9 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,5 +1,5 @@ { - "name": "gitea-acxt-create-pr", + "name": "gitea-act-create-pr", "version": "0.1.0", "lockfileVersion": 3, "requires": true, diff --git a/package-lock.json b/package-lock.json index 141c6d4..606a582 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,14 +1,14 @@ { - "name": "gitea-acxt-create-pr", + "name": "gitea-act-create-pr", "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "gitea-acxt-create-pr", + "name": "gitea-act-create-pr", "version": "0.1.0", "dependencies": { - "@actions/core": "^1.6.0" + "@actions/core": "^1.10.1" } }, "node_modules/@actions/core": { diff --git a/package.json b/package.json index e0589cc..b2c9bfb 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "name": "gitea-acxt-create-pr", + "name": "gitea-act-create-pr", "version": "0.1.0", - "description": "My custom GiteaPR Creation Action", + "description": "Gitea PR Creation Action", "main": "index.js", "dependencies": { - "@actions/core": "^1.6.0" + "@actions/core": "^1.10.1" } }