Commit Graph

67 Commits

Author SHA1 Message Date
Zach Borboa cd8d1cae4e Attempt to fix GitHub Actions pull requests not running checks 2023-12-12 18:07:56 -08:00
Zach Borboa d43497827c Enable auto-merge for pre-commit auto-update pull requests 2023-12-12 16:37:37 -08:00
Zach Borboa b1e6e2c9b5 Add PHP 8.3 as supported 2023-12-05 06:36:50 -08:00
Zach Borboa 15d7468507 Approve pull request only if not already approved 2023-11-22 14:10:58 -08:00
Zach Borboa 09da6860bb Delete pre-commit auto-update branch when pull request is closed 2023-10-26 14:04:38 -07:00
Zach Borboa 0706fa2186 Attempt to fix pre-commit auto update pull request approvals
Command:
  gh pr review --approve "https://github.com/php-curl-class/php-curl-class/pull/821"
  shell: /usr/bin/bash -e {0}
  env:
    PULL_REQUEST_NUMBER: 821
    GITHUB_TOKEN: ***
failed to create review: GraphQL: Can not approve your own pull request (addPullRequestReview)
Error: Process completed with exit code 1.
2023-10-26 12:50:47 -07:00
dependabot[bot] 4b7fcc6f4f Bump tj-actions/changed-files from 39 to 40
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 39 to 40.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v39...v40)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 09:48:56 +00:00
Zach Borboa 35e14e3cdd Approve pre-commit updates 2023-10-17 19:29:13 -07:00
Zach Borboa 7099446765 Update pre-commit auto update attribution 2023-10-17 18:27:47 -07:00
Zach Borboa 38e7d156c7 Display pull request created during pre-commit auto update 2023-10-17 17:56:04 -07:00
Zach Borboa d7ca5f2297 Fix pre-commit workflow error when writing multiline string
Error message:
    Error: Unable to process file command 'output' successfully.
    Error: Invalid format 'index cd0e971..e9a93b2 100644'
2023-10-17 12:06:37 -07:00
Zach Borboa 8e53e86d0d Add cron schedule to run pre-commit update workflow 2023-10-10 17:20:32 -07:00
Zach Borboa b86e5d8894 Include changes in pre-commit update pull request 2023-10-06 07:56:41 -07:00
Zach Borboa 1b92e03a92 Clean up 2023-10-06 07:56:41 -07:00
Zach Borboa 251e8c9908 Add labels to pre-commit update pull request 2023-10-06 07:56:41 -07:00
Zach Borboa aeb2957383 Set actions/checkout option persist-credentials 2023-10-06 07:56:41 -07:00
Zach Borboa 1704942a84 Add workflow to update pre-commit dependencies 2023-10-06 07:01:34 -07:00
Zach Borboa c1757b287a Clean up 2023-10-05 19:18:24 -07:00
Zach Borboa 4c54b5f824 Add label to mark dependabot updates as not requiring release 2023-10-03 18:29:32 -07:00
Zach Borboa 63bc65b0d3 Add approve for Dependabot patch and minor updates 2023-10-02 18:48:24 -07:00
Zach Borboa 93981ad3f2 Clean up 2023-10-02 18:47:38 -07:00
Zach Borboa cfcc13ad0f Add workflow for automatically merging Dependabot patch and minor version updates 2023-09-22 18:04:00 -07:00
Zach Borboa 350f4daa8a Add flake8 and isort to lint check 2023-09-09 08:41:16 -07:00
Zach Borboa 9fec5125bd Rename workflow 2023-09-09 08:38:10 -07:00
dependabot[bot] 0f7bd02e4b Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 13:26:36 +00:00
dependabot[bot] d2812a4b44 Bump tj-actions/changed-files from 38 to 39
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 38 to 39.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v38...v39)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 09:15:16 +00:00
dependabot[bot] b149764415 Bump tj-actions/changed-files from 37 to 38
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37 to 38.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v37...v38)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-23 09:08:06 +00:00
Zach Borboa 75673eed43 Add black code formatter to continuous integration 2023-07-01 10:10:38 -07:00
Zach Borboa d238300801 Disable auth token persistence 2023-06-26 18:05:26 -07:00
Zach Borboa 129013d778 Attempt to use token for release on protected branch 2023-06-26 18:02:14 -07:00
Zach Borboa ffc0a3e798 Use a more friendly release time and day of week
"0 18 * * 1-4":
  "At 18:00 on every day-of-week from Monday through Thursday."

  PT  - 10 am
  CT  - 12 pm
  ET  -  1 pm
  UTC -  6 pm
2023-02-26 09:51:13 -08:00
Zach Borboa b5e90e45a9 Fix release failure by fetching all tags during checkout
Command:
  for remote in local_repo.remotes:
      remote.fetch('--tags')

Error message:
  git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
    cmdline: git fetch -v -- origin --tags
    stderr: 'fatal: couldn't find remote ref --tags'

Before:
    Fetching the repository
    /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin [...]

After:
    Fetching the repository
    /usr/bin/git -c protocol.version=2 fetch --prune --progress --no-recurse-submodules origin [...]
2022-12-30 18:03:02 -08:00
Zach Borboa 3cfe83b222 Move static analysis config under tests/ and exclude from git archive 2022-12-16 04:03:56 -08:00
Zach Borboa 524dcad8ba Move PHP 8.2 out of future release; Add PHP 8.3 to continuous integration tests 2022-12-08 06:52:26 -08:00
Zach Borboa a7ada9308c Run release earlier 2022-09-29 05:14:47 -07:00
Zach Borboa ba1a864d67 Update actions/checkout version 2022-09-23 22:16:07 -07:00
Zach Borboa 703e87508c Rename workflow file 2022-09-23 22:06:20 -07:00
Zach Borboa 7bbb9e7e0d Rename action step name and script name 2022-09-23 21:08:44 -07:00
Zach Borboa 29c6c48cee Update name of workflow 2022-09-23 21:06:22 -07:00
Zach Borboa a021bc128a Remove unused const 2022-09-23 21:04:00 -07:00
Zach Borboa 52ec16902f Generate changelog entries for release 2022-09-23 12:21:10 -07:00
Zach Borboa 7f7d6f9e2c Allow manual triggers of workflow 2022-09-22 19:29:31 -07:00
Zach Borboa 97ae4d9785 Add cron schedule to update changelog workflow 2022-09-22 19:26:04 -07:00
Zach Borboa 8363b24ad8 Add workflow and script for updating changelog 2022-09-22 19:23:39 -07:00
Zach Borboa 733319eb1d Update matrix strategy key name 2021-11-26 23:38:47 -05:00
Zach Borboa c975670b97 Run psalm on PHP >= 7.1
Error message:
    PHP Fatal error:  Uncaught Psalm\Exception\ConfigException: Error
    parsing file /home/runner/work/php-curl-class/php-curl-class/ on
    line 8: Element '{https://getpsalm.org/schema/config}psalm': No
    matching global declaration available for the validation root.
2021-11-26 08:49:03 -05:00
Zach Borboa d79fb1689f Skip running static analysis checks on future releases 2021-11-25 23:52:55 -05:00
Zach Borboa 5087a6b6d8 Add static analysis checks to continuous integration 2021-11-25 19:32:50 -05:00
Zach Borboa 04637b3058 Move PHP 8.1 out of future release 2021-11-25 13:42:01 -05:00
Zach Borboa 21564e7429 Allow test failures on future PHP releases to fail more quietly
This change allows continuous integration test failures on future PHP
releases without triggering some of the user interface warnings:
    - Red x mark instead of a green checkmark
    - Pull request merge warning:
        "Some checks were not successful
        7 successful and 1 failing checks"
2021-11-24 23:12:31 -05:00