-
Notifications
You must be signed in to change notification settings - Fork 43
Release 1.4.5 #328
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
Draft
github-actions
wants to merge
6
commits into
release
Choose a base branch
from
release-1.4.5
base: release
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Release 1.4.5 #328
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
72b8d76
Merge pull request #318 from pantheon-systems/release
jazzsequence 6f2e4ff
feat: SRE-1122 - Migration out of CircleCI (#327)
KostenetskyiAndrii 3e6b7f1
Prepare 1.4.5-dev
pwtyler abc0bd7
Bump jazzsequence/action-validate-plugin-version from 1 to 2 (#331)
dependabot[bot] a4e1d25
Bump webfactory/ssh-agent from 0.7.0 to 0.9.1 (#330)
dependabot[bot] b2729a0
Release 1.4.5
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,105 @@ | ||
| name: Behat CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ master, main ] | ||
| pull_request: | ||
| workflow_dispatch: | ||
| schedule: | ||
| # Nightly at 00:00 UTC (CircleCI had cron "0 0 * * *" with branch filter=master) | ||
| - cron: "0 0 * * *" | ||
|
|
||
| permissions: | ||
| contents: read | ||
| actions: write | ||
|
|
||
| jobs: | ||
| test-behat: | ||
| # Run nightly only on master (schedule can't filter branches directly) | ||
| if: github.event_name != 'schedule' || github.ref == 'refs/heads/master' | ||
|
|
||
| runs-on: ubuntu-latest | ||
|
|
||
| env: | ||
| RUN_NUM: ${{ github.run_number }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| TERMINUS_TOKEN: ${{ secrets.TERMINUS_TOKEN }} | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v5 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Cache dependencies | ||
| uses: actions/cache@v3 | ||
| with: | ||
| path: ~/vendor | ||
| key: test-lint-dependencies-{{ checksum "composer.json" }} | ||
| restore-keys: test-lint-dependencies-{{ checksum "composer.json" }} | ||
|
|
||
| - name: Install dependencies | ||
| run: composer install -n --prefer-dist | ||
|
|
||
| - name: Run PHP Lint | ||
| run: composer phpcs | ||
|
|
||
| - name: Install Terminus | ||
| uses: pantheon-systems/terminus-github-actions@v1 | ||
| with: | ||
| pantheon-machine-token: ${{ secrets.TERMINUS_TOKEN }} | ||
|
|
||
| - name: Validate Readme Spacing | ||
| uses: pantheon-systems/validate-readme-spacing@v1 | ||
|
|
||
| - name: Install Subversion | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install subversion | ||
|
|
||
| - name: Generate admin password | ||
| run: echo $(openssl rand -hex 8) > /tmp/WORDPRESS_ADMIN_PASSWORD | ||
|
|
||
| - name: Export env | ||
| run: | | ||
| { | ||
| echo "TERMINUS_ENV=ci-${RUN_NUM}" | ||
| echo "TERMINUS_SITE=wp-native-php-sessions" | ||
| echo "SITE_ENV=wp-native-php-sessions.ci-${RUN_NUM}" | ||
| echo "WORDPRESS_ADMIN_USERNAME=pantheon" | ||
| echo "WORDPRESS_ADMIN_EMAIL=no-reply@getpantheon.com" | ||
| echo "WORDPRESS_ADMIN_PASSWORD=$(cat /tmp/WORDPRESS_ADMIN_PASSWORD)" | ||
| } >> "$GITHUB_ENV" | ||
|
|
||
| - name: Force SSH to ignore host keys | ||
| run: echo "GIT_SSH_COMMAND=ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" >> $GITHUB_ENV | ||
|
|
||
| - name: Install SSH key | ||
| uses: webfactory/ssh-agent@v0.9.1 | ||
| with: | ||
| ssh-private-key: ${{ secrets.SITE_OWNER_SSH_PRIVATE_KEY }} | ||
|
|
||
| - name: Configure Composer GitHub OAuth (optional) | ||
| if: env.GITHUB_TOKEN != '' | ||
| run: | | ||
| echo "Setting Composer GitHub OAuth token (output suppressed)" | ||
| { composer config -g github-oauth.github.com "$GITHUB_TOKEN"; } &>/dev/null | ||
|
|
||
| - name: Validate fixture version | ||
| uses: jazzsequence/action-validate-plugin-version@v2 | ||
Check warningCode scanning / CodeQL Unpinned tag for a non-immutable Action in workflow Medium test
Unpinned 3rd party Action 'Behat CI' step
Uses Step Error loading related location Loading |
||
| with: | ||
| branch: ${{ github.head_ref }} | ||
| dry-run: 'true' | ||
|
|
||
| - name: Behat prepare | ||
| run: | | ||
| terminus auth:login --machine-token=$TERMINUS_TOKEN | ||
| terminus self:plugin:install terminus-build-tools-plugin | ||
| ./bin/behat-prepare.sh | ||
|
|
||
| - name: Behat tests (strict) | ||
| run: ./bin/behat-test.sh --strict | ||
|
|
||
| - name: Cleanup (always) | ||
| if: always() | ||
| run: ./bin/behat-cleanup.sh | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| .DS_Store | ||
| .idea | ||
| .codacy | ||
| Thumbs.db | ||
| wp-cli.local.yml | ||
| node_modules/ | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium test