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

Documentation and gulp deps #2

Merged
merged 14 commits into from
Nov 30, 2022
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: Bug
about: Use when reporting a problem with a project.
labels: ["Size: Small", "Type: Bug"]

---
**Source**
Expand Down
5 changes: 4 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ Fixes: #[Issue Number]
**Video / Images:**
> A supporting video demonstrating the changes (using a tool such as Loom) or images (be sure to include before and after shots if it relates to a visual change).

**Documentation**
> Provide guidance relating to the changes in this PR that can be used to update the documentation on the website.

**Further Guidance**
Guidance on how to complete this Pull Request can be found in the [workflow documentation](https://docs.google.com/document/d/1moNJzYNOvxSfztw1Ew6ztOCayDk67fQbQPkG-RNLhGI/edit).
> Guidance on how to complete this Pull Request can be found in the [workflow documentation](https://docs.google.com/document/d/1moNJzYNOvxSfztw1Ew6ztOCayDk67fQbQPkG-RNLhGI/edit).
44 changes: 28 additions & 16 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,52 @@
name: Run PHPCS on pull requests

on: pull_request

jobs:
phpcs:
runs-on: ubuntu-latest
steps:
# Assign SSH key for private repos on github.
- uses: webfactory/[email protected]
- name: Assign SSH Key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

# Checkout git.
- uses: actions/checkout@v2
- name: Checkout Repository
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 # fetch all history.

- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Iconibot"
- name: Configure Git
run: git config --global user.email "[email protected]" && git config --global user.name "Iconibot"

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
coverage: none
tools: composer

- run: composer install --no-dev # Install from composer.json, not dev files.
- uses: docker://rtcamp/action-phpcs-code-review:v2.0.1
- name: Composer Install
run: composer install --no-dev --no-progress --no-interaction # Install from composer.json, not dev files.

- name: PHPCS Code Review
uses: rtCamp/action-phpcs-code-review@v2
env:
GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
SKIP_FOLDERS: "dev-lib,node_modules,vendor,.github"

- uses: alex-page/[email protected]
PHPCS_FILE_PATH: vendor/bin/phpcs

- name: Project Automation
uses: alex-page/[email protected]
if: ${{ failure() }}
with:
project: Programme Board
column: Sprint
repo-token: ${{ secrets.GH_BOT_TOKEN }}

- uses: kentaro-m/[email protected]
if: ${{ failure() }}
with:
repo-token: "${{ secrets.GH_BOT_TOKEN }}"
configuration-path: .github/workflows/auto_assign.yml
# - name: Auto Assign
# uses: kentaro-m/[email protected]
# if: ${{ failure() }}
# with:
# repo-token: ${{ secrets.GH_BOT_TOKEN }}
# configuration-path: '.github/workflows/auto_assign.yml'
2 changes: 1 addition & 1 deletion assets/admin/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

.iconic-wds-gcal-redirect-copy {
margin-left: 5px !important;
}
}
Loading