Skip to content
activity

GitHub Action

Devto shop item random generator

v8 Latest version

Devto shop item random generator

activity

Devto shop item random generator

generate readme that has list of item that we can buy from dev.to shop on a budget that we have

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Devto shop item random generator

uses: spiritbroski/devtoshop-random-generator@v8

Learn more about this action in spiritbroski/devtoshop-random-generator

Choose a version

RANDOM DEV.TO SHOP ITEM GENERATOR

this action get you a random item that you can buy on a budget from dev.to shop

You can see the explanation here

https://dev.to/spiritbro1/pick-random-item-from-dev-to-shop-based-on-how-much-money-you-got-29a

Required argument

  • budget your budget in us dollar
  • personal_token to create a branch and pull request
  • github_repo your repo name

Example Yaml

# This is a basic workflow to help you get started with Actions

name: Get Random Item from dev.to

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
  push:
    branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - name: generate and pull request
        uses: spiritbro1/devtoshop-random-generator@v7
        with:
          budget: 50
          personal_token: ${{ secrets.PERSONAL_TOKEN }}
          github_repo: ${{ secrets.GH_REPO }}