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

PR for danskernesdigitalebibliotek/dpl-react:wild-cerebroid-atlanticspadefish #29

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
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
6 changes: 6 additions & 0 deletions .github/workflows/create-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
fetch-depth: 0
if: ${{ env.PR_BRANCH && env.BUILD_URL }}

- name: Skip if branch exists already
run: |
set -e
git fetch origin ${{ env.PR_BRANCH }} || echo "Branch ${{ env.PR_BRANCH }} does not exist yet."
if: ${{ env.PR_BRANCH && env.BUILD_URL }}

- name: Insert dependency
uses: Wandalen/wretry.action@master
id: manipulate_composer
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Testing
run: |
BRANCH_EXISTS=$(git fetch origin develop || echo "John")
echo "$BRANCH_EXISTS"
# echo "BUILD_URL_IS_ACCEPTED=$BUILD_URL_IS_ACCEPTED" >> $GITHUB_ENV
echo "BRANCH_EXISTS=$(git show-ref --quiet refs/heads/abe && echo 'true' || echo 'false')" >> $GITHUB_ENV

- name: Testing II
run: |
echo "Hello"
echo "${{ toJson(env) }}"
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"type": "package",
"package": {
"name": "danskernesdigitalebibliotek/dpl-react",
"version": "2024.20.1",
"version": "dev-master",
"type": "drupal-library",
"dist": {
"url": "https://github.com/danskernesdigitalebibliotek/dpl-react/releases/download/2024.20.1/dist-2024-20-1-4291024f5b2d30ec59a5a51497c5f776dd1fda7e.zip",
"url": "https://github.com/reload/poc-dpl-react-pr-trigger/releases/download/branch-wild-cerebroid-atlanticspadefish/dist-wild-cerebroid-atlanticspadefish.zip",
"type": "zip"
},
"require": {
Expand Down Expand Up @@ -89,7 +89,7 @@
"cweagans/composer-patches": "1.7.3",
"danskernesdigitalebibliotek/cms-api": "*",
"danskernesdigitalebibliotek/dpl-design-system": "2024.20.1",
"danskernesdigitalebibliotek/dpl-react": "2024.20.1",
"danskernesdigitalebibliotek/dpl-react": "dev-master",
"danskernesdigitalebibliotek/fbs-client": "*",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"deoliveiralucas/array-keys-case-transform": "^1.1",
Expand Down
6 changes: 3 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.