Skip to content

Continuous Integration #102

Continuous Integration

Continuous Integration #102

Workflow file for this run

# Test the action by running it on the test-profile directory.
# dōteki makes it easy to add dynamic content to your GitHub profile through plugins.
# For more information and documentation, visit https://doteki.org/
name: Continuous Integration
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
schedule:
- cron: '21 2 * * 3'
jobs:
test-doteki:
runs-on: ubuntu-latest
permissions:
contents: write # Necessary to push changes.
steps:
- name: Run dōteki action
uses: welpo/doteki-action@main # Use latest version of doteki-action (and dōteki).
with:
working-directory: "./test-profile/"
env:
# Pull Requests don't push changes.
GITHUB_TOKEN: ${{ github.event_name != 'pull_request' && secrets.GITHUB_TOKEN || '' }}
DRY_RUN: ${{ github.event_name == 'pull_request' }}