https://github.com/chartboost/chartboost-ios-adapter-actions
Common scripts for Chartboost Mediation open source repositories
https://github.com/chartboost/chartboost-ios-adapter-actions
Last synced: 7 months ago
JSON representation
Common scripts for Chartboost Mediation open source repositories
- Host: GitHub
- URL: https://github.com/chartboost/chartboost-ios-adapter-actions
- Owner: ChartBoost
- License: mit
- Created: 2023-04-03T23:06:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-26T19:22:44.000Z (about 2 years ago)
- Last Synced: 2025-07-30T03:03:10.264Z (10 months ago)
- Language: Ruby
- Size: 40 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Chartboost iOS Adapter Actions
Repository of GitHub Actions for the Chartboost Mediation iOS Adapter and Chartboost Core iOS Adapter ecosystems.
All actions accept an optional `CHARTBOOST_PLATFORM` environment variable to indicate the platform to which the adapter belongs.
Supported values are: `Mediation` and `Core`.
When no value is provided, `Mediation` is assumed.
When a change is made to any of the actions or scripts, a new version of the actions will need to be released with the [release](https://github.com/ChartBoost/chartboost-ios-adapter-actions/actions/workflows/release.yml) workflow. Bug fixes can be made in a patch version, non-breaking improvements can be made in a minor version, and breaking changes can be made in a major version.
## adapter-smoke-test
Validates changes to an adapter.
### Inputs
| name | type | required | default | discussion |
| ---- | ---- | ---- | ---- | ---- |
| `allow-warnings` | boolean | no | false | Indicates if warnings should be allowed when linting the podspec |
### Use example
Add to your GitHub workflow:
```
jobs:
validate-podspec:
runs-on: macos-latest
steps:
- uses: chartboost/chartboost-ios-adapter-actions/adapter-smoke-test@v1
with:
allow-warnings: true
```
## create-adapter-release-branch
This action creates a new adapter release branch, validates inputs, applies boilerplate changes, and opens a PR.
### Requirements
- A `GITHUB_TOKEN` environment variable with a GitHub token that has permission to push and create PRs in the adapter repository.
### Use example
Add to your GitHub workflow:
```
env:
GITHUB_TOKEN: ${{ secrets.GITHUBSERVICETOKEN }}
jobs:
create-release-branch:
steps:
- uses: chartboost/chartboost-ios-adapter-actions/create-adapter-release-branch@v1
with:
adapter-version: "4.5.3.0.0"
partner-version: "~> 5.3.0"
```
## release-adapter
This action releases a new adapter version.
### Requirements
- A `GITHUB_TOKEN` environment variable with a GitHub token that has permission to push tags and create GitHub releases in the adapter repository.
- A `COCOAPODS_TRUNK_TOKEN` environment variable with a CocoaPods token that has permission to push new adapter pod versions to trunk.
### Inputs
| name | type | required | default | discussion |
| ---- | ---- | ---- | ---- | ---- |
| `allow-warnings` | boolean | no | false | Indicates if warnings should be allowed when linting the podspec |
### Use example
Add to your GitHub workflow:
```
env:
GITHUB_TOKEN: ${{ secrets.GITHUBSERVICETOKEN }}
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
jobs:
release-adapter:
steps:
- uses: chartboost/chartboost-ios-adapter-actions/release-adapter@v1
```