From 9a097d15773acf6301c5a0eec54dab467edff685 Mon Sep 17 00:00:00 2001 From: tuutti Date: Fri, 3 Feb 2023 09:46:26 +0200 Subject: [PATCH] Create release pr automatically --- .github/workflows/auto-release-pr.yml | 21 +++++++++++++++++++++ composer.lock | 8 ++++---- 2 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/auto-release-pr.yml diff --git a/.github/workflows/auto-release-pr.yml b/.github/workflows/auto-release-pr.yml new file mode 100644 index 00000000..ace630fd --- /dev/null +++ b/.github/workflows/auto-release-pr.yml @@ -0,0 +1,21 @@ +on: + push: + branches: + - dev +name: Automatic release PR +jobs: + release-pr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 1 + - name: Create pull request + run: | + gh pr create \ + --base main \ + --head dev \ + --title "Dev to main" \ + --body "Dev to main" || true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/composer.lock b/composer.lock index 615e67de..7adf1fb5 100644 --- a/composer.lock +++ b/composer.lock @@ -4237,12 +4237,12 @@ "source": { "type": "git", "url": "https://github.com/City-of-Helsinki/drupal-tools.git", - "reference": "65e985d3ddd45683f92076353cde65fc315e2444" + "reference": "c765d56ad201307a2085978e5d6158622f44cdc8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/City-of-Helsinki/drupal-tools/zipball/65e985d3ddd45683f92076353cde65fc315e2444", - "reference": "65e985d3ddd45683f92076353cde65fc315e2444", + "url": "https://api.github.com/repos/City-of-Helsinki/drupal-tools/zipball/c765d56ad201307a2085978e5d6158622f44cdc8", + "reference": "c765d56ad201307a2085978e5d6158622f44cdc8", "shasum": "" }, "default-branch": true, @@ -4255,7 +4255,7 @@ "source": "https://github.com/City-of-Helsinki/drupal-tools/tree/main", "issues": "https://github.com/City-of-Helsinki/drupal-tools/issues" }, - "time": "2022-12-13T08:08:10+00:00" + "time": "2023-02-03T07:01:52+00:00" }, { "name": "drupal/helfi_media_formtool",