pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.06k stars 265 forks source link

Fixed(CI): Fix PHP Compatability & PHP CodeSniffer workflow by using correct yaml syntax and `secrets` instead of `env` #7321

Open drikusroor opened 4 days ago

drikusroor commented 4 days ago

Description

I've noticed that the PHP Compatability and the PHP CodeSniffer workflows have been consistently failing for the last weeks due to what appear to be a yaml syntax error:

A sequence was not expected
Unexpected type 'SequenceToken' encountered while reading 'job phpcs-compatibility'. The type 'MappingToken' was expected.

This PR then attempts to fix this yaml issue for both workflows and also uses the secrets key for better semantics.

Related GitHub issue(s)

n/a

Testing instructions

  1. Go to the actions part of this PR and see if the workflows now succeed (or at least won't fail due to this yaml syntax error)

Screenshots / screencast

Changelog text for these changes

PR checklist

what-the-diff[bot] commented 4 days ago

PR Summary